From eabfc7ae23b635f03f1c55d1ba6cd38dcd01930f Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 24 Apr 2009 18:14:12 +0000 Subject: [PATCH] Remove /dev/null from cmd strings git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 52566130a..5300f8504 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -4267,7 +4267,7 @@ sub doSNcopy # running on the management node so # copy the /etc/hosts file to the SN - my $rcpcmd = "xdcp $snkey /etc/hosts /etc 2>/dev/null"; + my $rcpcmd = "xdcp $snkey /etc/hosts /etc"; if ($::VERBOSE) { my $rsp; push @{$rsp->{data}}, "Running: \'$rcpcmd\'\n"; @@ -4286,7 +4286,7 @@ sub doSNcopy # runs on that SN # get a list of the resources that are defined on the SN - my $cmd = qq~xdsh $snkey "/usr/sbin/lsnim -c resources | /usr/bin/cut -f1 -d' ' 2>/dev/null"~; + my $cmd = qq~xdsh $snkey "/usr/sbin/lsnim -c resources | /usr/bin/cut -f1 -d' '"~; @nimresources = xCAT::Utils->runcmd("$cmd", -1); if ($::RUNCMD_RC != 0)