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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user