]> mj.ucw.cz Git - bex.git/commitdiff
prun: Recognize NOXFER state
authorMartin Mares <mj@ucw.cz>
Fri, 17 Feb 2012 15:28:01 +0000 (16:28 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 17 Feb 2012 15:28:01 +0000 (16:28 +0100)
lib/bin/bex-prun

index 03546ef7feaf5b4a8e799e6a5ed40082fc6a8e83..63be4798149baf8ba58fa7cfb4c2975c98e93034 100755 (executable)
@@ -316,7 +316,7 @@ sub update($$$$) {
                when ('OK') {
                        $ui->set_job_status($mach, $jid, 'done');
                }
-               when (['FAILED', 'INTERR', 'NOPING', 'PREPFAIL']) {
+               when (['FAILED', 'INTERR', 'NOPING', 'PREPFAIL', 'NOXFER']) {
                        $ui->set_job_status($mach, $jid, 'failed');
                        $host_last_fail_job{$mach} = $jid;
                        $host_last_fail_stat{$mach} = $stat;