summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--script/deb-post-inst.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/deb-post-inst.template b/script/deb-post-inst.template
index b98d6e6294..d662f75c42 100644
--- a/script/deb-post-inst.template
+++ b/script/deb-post-inst.template
@@ -10,5 +10,5 @@ fi
if [ $has_systemd -eq 0 ] && [ -n "$(systemctl list-units --plain --no-legend {{.Service}})" ]; then
deb-systemd-invoke try-restart "{{.Service}}"
else
- pkill -HUP -x {{.Command}}
+ pkill -HUP -x {{.Command}} || :
fi