diff --git a/bin/netdisco-do b/bin/netdisco-do index 1c5b0b43..ab60f98e 100755 --- a/bin/netdisco-do +++ b/bin/netdisco-do @@ -139,7 +139,7 @@ foreach my $host (@hostlist) { $job->log("error running job: $_"); }; - if ($job->log eq 'no worker succeeded during main phase') { + if ($job->log eq 'failed to report from any worker!') { pod2usage( -msg => (sprintf 'error: %s is not a valid action', $action), -verbose => 2,