X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemctl%2Fsystemctl.c;h=66d031dae82aeaf28d366a56c1a9b56098d251c2;hb=69bd386c4c0618d686e1b5ac01c0e9658b1539b6;hp=d56b4d61e226835e14c358f9f1d4314779d913f1;hpb=236bc7573a400b77e515c441a34419b133d11b18;p=elogind.git diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index d56b4d61e..66d031dae 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 (