mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	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:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user