From 9b8068cb12724a0fc8c6375846f1d7c564ddebce Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Thu, 14 Mar 2019 15:15:54 +0800 Subject: [PATCH] Do not show error message when command failure --- perl-xCAT/xCAT/Utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 8f9ad89a7..c3f72767e 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -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; }