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 0a35d8e021a59d3ab009049b2c4998fb40132c9f..7caeb6dd91bd81a54fb6a7b486f2d6b55020133d 100644 (file)
@@ -5038,7 +5038,7 @@ static int reload_with_fallback(DBusConnection *bus) {
 
         if (bus) {
                 /* First, try systemd via D-Bus. */
 
         if (bus) {
                 /* First, try systemd via D-Bus. */
-                if (daemon_reload(bus, NULL) > 0)
+                if (daemon_reload(bus, NULL) >= 0)
                         return 0;
         }
 
                         return 0;
         }