diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index 53c9fb29f..99f57c526 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -1359,7 +1359,7 @@ sub setup_HTTP sub enable_TFTPhpa { # Check whether the tftp-hpa has been installed - if (! -e "/etc/xinetd.d/tftp") { + unless (-x "/usr/sbin/in.tftpd" and -e "/etc/xinetd.d/tftp") { xCAT::MsgUtils->message("S", "ERROR: The tftpd was not installed, enable the tftp failed."); return 1; }