diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-06-23 14:06:02 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-06-23 14:06:02 +0200 |
commit | 474616e64fe081a59ebdb7ee6d650778f318212a (patch) | |
tree | 5828c9cb2a090cfa535df9cb45d599977a218a9b /src/wgtpkg-unit.c | |
parent | 9fa72fb3042cf63055768564023eb94c39d6c75c (diff) |
Fix daemon reload (to be improved)
Change-Id: Ica099aa439e6c022de4982a58b0990065d932b0b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/wgtpkg-unit.c')
-rw-r--r-- | src/wgtpkg-unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wgtpkg-unit.c b/src/wgtpkg-unit.c index 232c4ee..e6e67bf 100644 --- a/src/wgtpkg-unit.c +++ b/src/wgtpkg-unit.c @@ -497,7 +497,7 @@ static int do_send_reload(const struct generatedesc *desc) reloadusr = systemd_daemon_reload(1); if (reloadsys) reloadsys = systemd_daemon_reload(0); - return reloadsys ? : reloadusr ? : 0; + return 0; } static int do_uninstall_units(void *closure, const struct generatedesc *desc) |