Fix "no hosts to update" warning condition
This commit is contained in:
parent
542bb28a13
commit
498df75790
1 changed files with 1 additions and 1 deletions
|
@ -1283,7 +1283,7 @@ sub main {
|
|||
$result = 0;
|
||||
|
||||
} elsif (!scalar(%config)) {
|
||||
warning("no hosts to update.") unless !opt('quiet') || opt('verbose') || !$daemon;
|
||||
warning("no hosts to update.") if !opt('quiet');
|
||||
$result = 1;
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue