diff options
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index d56b4d61e2..66d031dae8 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -1042,7 +1042,7 @@ static bool need_daemon_reload(DBusConnection *bus, const char *unit) { /* We ignore all errors here, since this is used to show a warning only */ n = unit_name_mangle(unit); - if (n) + if (!n) return log_oom(); r = bus_method_call_with_reply ( |