2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-02 02:45:35 +00:00

Fix syntax error when checking the existence of tftp process

This commit is contained in:
chenglch
2016-06-05 23:05:24 -04:00
parent fbd9abfdf2
commit eeff6a4cd1

View File

@ -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`;