Commit cda5783
committed
fix: Set __is_system_running in check mode
Cause: `systemctl is-system-running` was not called in `--check` mode.
Consequence: The "Determine if system is booted with systemd" step
failed in check mode as the `__is_system_running` variable was not
populated.
Fix: Force calling `systemctl is-system-running` in check mode. It does
not modify the system and the outcome is very influential for what the
role does.1 parent 4decd9e commit cda5783
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments