fix for defect 3839

This commit is contained in:
lissav 2014-01-08 10:34:21 -05:00
parent 99802e8a09
commit 41a16bb370

View File

@ -977,13 +977,9 @@ sub runcmd
if ($::VERBOSE)
{
# get this systems name as known by xCAT management node
my $Sname = xCAT::InstUtils->myxCATname();
my $msg;
if ($Sname) {
$msg = "Running command on $Sname: $cmd";
} else {
$msg="Running command: $cmd";
}
my $hostname = `/bin/hostname`;
chomp $hostname;
my $msg="Running command on $hostname: $cmd";
if ($::CALLBACK){
my $rsp = {};