From: Martin Mares Date: Mon, 31 Oct 2011 15:11:24 +0000 (+0100) Subject: brun: Report DONE even on hosts where no job is queued X-Git-Tag: v3.0~34 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2e6a7d7ccaa067ce8da4f315172f2e631105999f;p=bex.git brun: Report DONE even on hosts where no job is queued Otherwise, bprun can lose a process if another instance of brun flushed all jobs in the meantime. --- diff --git a/brun b/brun index 387347a..3769b31 100755 --- a/brun +++ b/brun @@ -187,6 +187,7 @@ for my $mach (@machines) { } } } +} continue { update_status($mach, '-', 'DONE', undef); } $queue->unlock;