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
This commit is contained in:
nott 2009-04-24 18:14:12 +00:00
parent c9c3787822
commit eabfc7ae23

View File

@ -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)