mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-24 02:03:54 +03:00
Merge pull request #12014 from poettering/systemctl-exit-fix
systemctl fallback error propagation fix
This commit is contained in:
commit
9dd6ccf7c0
@ -8941,7 +8941,7 @@ static int reload_with_fallback(void) {
|
||||
|
||||
static int start_with_fallback(void) {
|
||||
/* First, try systemd via D-Bus. */
|
||||
if (start_unit(0, NULL, NULL) >= 0)
|
||||
if (start_unit(0, NULL, NULL) == 0)
|
||||
return 0;
|
||||
|
||||
/* Nothing else worked, so let's try /dev/initctl */
|
||||
|
Loading…
x
Reference in New Issue
Block a user