From c9c00ec7fdfa874eed675792c71782d698c3df4c Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 9 Aug 2012 08:54:22 +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/trunk@13470 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 4c7f87d95..02957537c 100755 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -1276,7 +1276,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) {