output of worker changed

worker with task have $0 set to e.g:
 1024 ?        Sl     0:48  \_ worker-PC 1  Task: 51919-fedora-19-i386
This commit is contained in:
Miroslav Suchý 2014-10-08 12:04:41 +00:00
parent 47239d5c57
commit 5f779a00e3

View file

@ -2,7 +2,7 @@
# this scrip query for all running VM and terminate those
# which are not currently started by some ansible script
while (chomp($a = qx(ps ax |grep -v 'sh -c ps ax' |grep /home/copr/provision/builderpb.yml | grep -v grep))) {
while (chomp($a = qx(ps ax |grep -v 'sh -c ps ax' |grep 'Task: ' | grep -v grep))) {
# we are starting some VM and could not determine correct list of running VMs
sleep 5;
}