Commit a3c1f8a
committed
fix: Avoid autostart service being executed twice
When ExecCondition returns an exit code that is non-zero but not 255,
the service is marked as "skipped" rather than "failed".
The skipped state may be treated as success by some versions of systemd,
thereby triggering OnSuccess!
Log: as title
Pms: BUG-3433211 parent 0f6763f commit a3c1f8a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments