Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
452c5d5e91
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      debian/postinst

+ 1 - 1
debian/postinst

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