Fixed iptables detection

This commit is contained in:
Marcel Stangenberger 2025-03-27 09:46:16 +00:00
parent ff3fd8f2c7
commit 8113ba7df9

View File

@ -50,8 +50,8 @@ if [ $EUID != 0 ]; then
exit 4
fi
if [ ! -x /sbin/$IPTABLES ]; then
echo -n $"${IPTABLES}: /sbin/$IPTABLES does not exist."; warning; echo
if [ ! -x /sbin/$IPTABLES ] -a [ ! -x /usr/sbin/$IPTABLES ]; then
echo -n $"${IPTABLES}: $IPTABLES does't seem to be installed."; warning; echo
exit 5
fi