mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	Fix syntax error when checking the existence of tftp process
This commit is contained in:
		@@ -1427,7 +1427,7 @@ sub enable_TFTPhpa
 | 
			
		||||
            map { chomp; $pids_map{$_} = 1 } @tftpprocpids;
 | 
			
		||||
            while (keys %pids_map) {
 | 
			
		||||
                foreach my $pid (keys %pids_map) {
 | 
			
		||||
                    if (xCAT::Utils->is_process_exists($pid)) {
 | 
			
		||||
                    if (xCAT::Utils::is_process_exists($pid)) {
 | 
			
		||||
                        $count++;
 | 
			
		||||
                        if($count == 5) {
 | 
			
		||||
                            my $tftpinfo = `ps axf|grep -v grep|grep in.tftpd`;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user