Correct order of pkill(1) arguments in debian script (fixes #2728)

According to http://linux.die.net/man/1/pkill the signal name must be **before** anything else.
This commit is contained in:
Stefan Tatschner 2016-01-24 13:10:30 +01:00
parent cc5f93e717
commit 452c5d5e91

2
debian/postinst vendored
View File

@ -2,5 +2,5 @@
set -euo pipefail
if [[ ${1:-} == configure ]]; then
pkill -x -HUP syncthing || true
pkill -HUP -x syncthing || true
fi