Fixed iptables detection
This commit is contained in:
parent
ff3fd8f2c7
commit
8113ba7df9
@ -50,8 +50,8 @@ if [ $EUID != 0 ]; then
|
|||||||
exit 4
|
exit 4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -x /sbin/$IPTABLES ]; then
|
if [ ! -x /sbin/$IPTABLES ] -a [ ! -x /usr/sbin/$IPTABLES ]; then
|
||||||
echo -n $"${IPTABLES}: /sbin/$IPTABLES does not exist."; warning; echo
|
echo -n $"${IPTABLES}: $IPTABLES does't seem to be installed."; warning; echo
|
||||||
exit 5
|
exit 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user