Fixed iptables detection
This commit is contained in:
parent
ff3fd8f2c7
commit
8113ba7df9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user