mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +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