diff options
author | Simon Frei <freisim93@gmail.com> | 2021-05-04 18:33:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 18:33:25 +0200 |
commit | f4e112f404be3f7b77f274bf772078caba9c1e59 (patch) | |
tree | 9836d5fa17f80a5e443eca1cc841c5ca403d8afc /script | |
parent | 87a0eecc31a0a5eeef1d0da510f4d5832e022e1f (diff) | |
download | syncthing-f4e112f404be3f7b77f274bf772078caba9c1e59.tar.gz syncthing-f4e112f404be3f7b77f274bf772078caba9c1e59.zip |
build: Ignore error from pkill on apt upgrade (fixes #7628) (#7629)
Diffstat (limited to 'script')
-rw-r--r-- | script/deb-post-inst.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/deb-post-inst.template b/script/deb-post-inst.template index b98d6e629..d662f75c4 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 |