mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 01:56:39 +00:00
Merge pull request #1256 from chenglch/aasn
Fix syntax error when checking the existence of tftp process
This commit is contained in:
commit
b13364efbd
@ -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`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user