summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksii Shevchuk <alxchk@gmail.com>2013-01-15 12:58:42 +0200
committerDave Reisner <dreisner@archlinux.org>2013-01-15 06:08:32 -0500
commit69bd386c4c0618d686e1b5ac01c0e9658b1539b6 (patch)
tree4085020aaba81d3c18fdf407cc9760cfe071102d
parent236bc7573a400b77e515c441a34419b133d11b18 (diff)
Typo fix
-rw-r--r--src/systemctl/systemctl.c2
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 (