[systemd-commits] src/systemctl

Dave Reisner dreisner at kemper.freedesktop.org
Tue Jan 15 03:08:56 PST 2013


 src/systemctl/systemctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 69bd386c4c0618d686e1b5ac01c0e9658b1539b6
Author: Oleksii Shevchuk <alxchk at gmail.com>
Date:   Tue Jan 15 12:58:42 2013 +0200

    Typo fix

diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index d56b4d6..66d031d 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 (



More information about the systemd-commits mailing list