From 4a51f83efc89412f1954b3cb32a3ee83ff354095 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 19 Nov 2017 22:06:15 +0000 Subject: [PATCH] fix detection of unknown action in netdisco-do --- bin/netdisco-do | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,