From 09dead16bcc847e6eb01ffc923af2ce2c2d25f56 Mon Sep 17 00:00:00 2001
From: daniceexi <daniceexi@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Fri, 16 Apr 2010 10:24:09 +0000
Subject: [PATCH] defect 2987530: the error message of grep should not be
 print, change the parameter of runcmd

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 xCAT-server/sbin/xcatconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig
index 28d269842..bb1fc8d4a 100644
--- a/xCAT-server/sbin/xcatconfig
+++ b/xCAT-server/sbin/xcatconfig
@@ -1447,7 +1447,7 @@ sub setupAIXconserver
     }
 
     $cmd = "lssrc -a | grep conserver >/dev/null 2>&1";
-    $outref = xCAT::Utils->runcmd("$cmd", 0);
+    $outref = xCAT::Utils->runcmd("$cmd", -1);
     if ($::RUNCMD_RC != 0)
     {
         $cmd =