2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-23 11:40:25 +00:00

Recognize alternative path to fping (#4100)

SLES12 places fping into /usr/sbin
This commit is contained in:
Jarrod Johnson
2017-10-16 23:00:09 -04:00
committed by yangsong
parent c4352ea46e
commit 54404030b6

View File

@@ -162,7 +162,7 @@ sub fping_pping {
}
else
{
if (!-x '/usr/bin/fping')
if (!-x '/usr/bin/fping' and !-x '/usr/sbin/fping')
{
print "fping is not available, please install missing package fping.\n";
exit 1;