From 69bd386c4c0618d686e1b5ac01c0e9658b1539b6 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Tue, 15 Jan 2013 12:58:42 +0200 Subject: [PATCH] Typo fix --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ( -- 2.30.2