diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-05-30 20:28:09 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-05-30 20:44:41 -0400 |
commit | 1058cbf2ad3d62d039f8f0be92d9d37777925a39 (patch) | |
tree | 3fdffa04f0eab31f9a075c6d5e0da5a02a1c8933 /src/core | |
parent | 76d5a71de99b6fe0ecc9bfd82ec641a5d408e191 (diff) |
systemctl: suggest 'systemctl daemon-reload' without --system
--system is default anyway, and some poor user might type 9
characters without needing to.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index a7cfe57038..6b0f567663 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -1037,7 +1037,8 @@ int manager_load_unit_prepare(Manager *m, const char *name, const char *path, DB } } - if ((r = unit_add_name(ret, name)) < 0) { + r = unit_add_name(ret, name); + if (r < 0) { unit_free(ret); return r; } |