Innokenty Enikeev 9 rokov pred
rodič
commit
db53349a9a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      kill-stale.sh

+ 1 - 1
kill-stale.sh

@@ -6,4 +6,4 @@
 DIR="$(dirname "$0")"
 test `find "$DIR/.watchdog" -mmin +2` || exit
 # Kill exising process
-pid=`lsof -iTCP:4016 -sTCP:LISTEN -t` && kill $pid
+pid=`lsof -iTCP:4016 -sTCP:LISTEN -t` && kill -9 $pid