summaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wgtpkg-unit.c')
-rw-r--r--src/wgtpkg-unit.c2
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)