mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-21 23:23:13 +01:00
Avoid shell diagnostic in 'show capabilities' when no arptables installed
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8442477224
commit
e77ca971bd
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user