From 2087cee1082f72ea8c648667b3a0c01bd1516b42 Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 21 Sep 2009 12:20:32 +0000 Subject: [PATCH] remove some improper messages git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCrflash.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/perl-xCAT/xCAT/PPCrflash.pm b/perl-xCAT/xCAT/PPCrflash.pm index 232314a8c..70e95ecaf 100644 --- a/perl-xCAT/xCAT/PPCrflash.pm +++ b/perl-xCAT/xCAT/PPCrflash.pm @@ -783,19 +783,15 @@ sub rflash { $::RUNCMD_RC = $?; if ($::RUNCMD_RC ) { # error from dsh my $rsp={}; - $rsp->{data}->[0] = "Error from dsh. Return Code = $::RUNCMD_RC"; + $rsp->{data}->[0] = "Error from xdsh. Return Code = $::RUNCMD_RC"; xCAT::MsgUtils->message("S", $rsp, $::CALLBACK, 1); - dpush(\@value,[$hmc,"failed to run xCAT::DSHCLI->runDsh_api()"]); + dpush(\@value,[$hmc,"failed to run $cmd"]); push(@value,[$hmc,$rsp->{data}->[0]]); - #push(@value,[$hmc,"Please check whether the HMC $hmc is configured to allow remote ssh connections"]); - #push (@value, [$hmc,"Failed to run the upgrade command \"rflash\" on $hmc"]); push (@value, [$hmc,"Failed to upgrade the firmware of $mtms_t on $hmc"]); return(\@value); } - %options = (); - my $r = (); foreach $r (@res){ push(@value, [$r]);