chiark / gitweb /
systemctl: if we managed to reexec the init system via the bus don't retry via signal
[elogind.git] / src / systemctl.c
index 0a35d8e..7caeb6d 100644 (file)
@@ -5038,7 +5038,7 @@ static int reload_with_fallback(DBusConnection *bus) {
 
         if (bus) {
                 /* First, try systemd via D-Bus. */
-                if (daemon_reload(bus, NULL) > 0)
+                if (daemon_reload(bus, NULL) >= 0)
                         return 0;
         }