fix pid files did not get removed and the kill term showing up
This commit is contained in:
parent
37118daaf9
commit
0bdae5e4c4
@ -24,8 +24,7 @@ while ! grep 'resourcerequest: ok' /tmp/goahead.$parpid > /dev/null; do
|
||||
done
|
||||
sleeper=$(cat /tmp/sleeperpid.$parpid)
|
||||
sleeper=$(ps -ef|awk "\$3==$sleeper"|awk '{print $2}')
|
||||
kill -TERM $sleeper
|
||||
rm /tmp/goahead.$parpid
|
||||
rm /tmp/sleeperpid.$parpid
|
||||
rm /tmp/killme.$parpid
|
||||
|
||||
kill -TERM $sleeper
|
||||
|
Loading…
Reference in New Issue
Block a user