Innokenty Enikeev пре 9 година
родитељ
комит
db53349a9a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      kill-stale.sh

+ 1 - 1
kill-stale.sh

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