Parcourir la source

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.
Stefan Tatschner il y a 10 ans
Parent
commit
452c5d5e91
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      debian/postinst

+ 1 - 1
debian/postinst

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