2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-12 21:28:24 +00:00

Recognize alternative path to fping

SLES12 places fping into /usr/sbin
This commit is contained in:
Jarrod Johnson
2017-10-13 09:10:02 -04:00
parent 5148747ff6
commit 60f5627754

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;