mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-15 07:40:28 +00:00
Do not show error message when command failure
This commit is contained in:
@@ -608,7 +608,7 @@ sub get_conserver_version
|
||||
# output format:
|
||||
# conserver: conserver.com version 8.2.1
|
||||
# conserver: default access type `r'
|
||||
my @out = xCAT::Utils->runcmd("$cmd", 0);
|
||||
my @out = xCAT::Utils->runcmd("$cmd", -1);
|
||||
if ($::RUNCMD_RC != 0 || @out < 1) {
|
||||
return undef;
|
||||
}
|
||||
|
Reference in New Issue
Block a user