Avoid shell diagnostic in 'show capabilities' when no arptables installed

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-03-10 09:48:10 -07:00
parent 8442477224
commit e77ca971bd

View File

@ -2217,7 +2217,7 @@ determine_capabilities() {
resolve_arptables
if [ -n "$arptables" -a -x $arptables ]; then
if [ -n "$arptables" -a -x "$arptables" ]; then
qt $arptables -L OUT && ARPTABLESJF=Yes
fi