From 452c5d5e914d80e2f58db978fbd203a6361e0d0e Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Sun, 24 Jan 2016 13:10:30 +0100 Subject: [PATCH] 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. --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 0289794c..742023eb 100755 --- a/debian/postinst +++ b/debian/postinst @@ -2,5 +2,5 @@ set -euo pipefail if [[ ${1:-} == configure ]]; then - pkill -x -HUP syncthing || true + pkill -HUP -x syncthing || true fi