Debian Codegraph @

debian/tests/process-killer

raw
1 #!/bin/sh
2 # loop until we can kill the process given in arg
3
4 while :
5 do
6 /usr/bin/pkill -x $*
7 [ $? -eq 0 ] && break
8 sleep 1
9 done