add path to pping and error processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5f2d0e3c80
commit
c84997d8d5
@ -706,7 +706,12 @@ sub pping_hostnames
|
||||
|
||||
my $hostname_list = join ",", @hostnames;
|
||||
my @output =
|
||||
xCAT::Utils->runcmd("pping $hostname_list", -1);
|
||||
xCAT::Utils->runcmd("/opt/xcat/bin/pping $hostname_list", -1);
|
||||
if ($::RUNCMD_RC !=0) {
|
||||
my $rsp={};
|
||||
$rsp->{data}->[0] = "Error from pping";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
|
||||
}
|
||||
$::RUNCMD_RC =0; # reset
|
||||
my @no_response = ();
|
||||
foreach my $line (@output)
|
||||
|
Loading…
Reference in New Issue
Block a user