aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt22
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index 9a4aa09..c0ae8e2 100755
--- a/iurt2
+++ b/iurt2
@@ -77,7 +77,7 @@ my (@stat) = stat $pidfile;
print "An other iurt pid $pid is running for a very long time, killing it\n";
my $i;
while ($i < 5 && getpgrp $pid != -1) {
- kill 9, $pid;
+ kill_for_good($pid);
$i++;
sleep 1
}