From 7cd9df23fb8f938450e58497770b04a0de37b14a Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 9 Aug 2012 08:56:01 +0000 Subject: [PATCH] defect 3555500, supress the warning when run xcat command in XCATBYPASS mode. It only happens for sles11.sp2 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13471 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 82da0f7b9..e1891b0e3 100755 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -1283,7 +1283,7 @@ sub initDB # switch from bind.pm to ddns.pm # give a warning message for the first time - my $cmds = "XCATBYPASS=Y $::XCATROOT/sbin/tabdump site|grep dnshandler"; + my $cmds = "XCATBYPASS=Y $::XCATROOT/sbin/tabdump site 2>/dev/null |grep dnshandler"; $outref = xCAT::Utils->runcmd("$cmds", -1); if ($::RUNCMD_RC != 0) {