mirror of
https://github.com/systemd/systemd.git
synced 2026-08-05 07:30:30 +00:00
Merge pull request #12014 from poettering/systemctl-exit-fix
systemctl fallback error propagation fix
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user