Merge pull request #12014 from poettering/systemctl-exit-fix

systemctl fallback error propagation fix
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-03-21 17:37:09 +01:00
committed by GitHub

View File

@@ -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 */