Commit b0ce148
committed
Fix sysctl rollback restart detection
Replace bare `incus start` with `_incus_soft` and add an explicit state check after rollback. The previous code relied on the exit code of `incus start`, which is unreliable when incus is in an inconsistent state. Now the function's return value reflects the actual container state by querying `incus list`.1 parent 9cf26a7 commit b0ce148
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments