mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 10:41:23 +02:00
Correct syntax error introduced in Beta 2
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
086f8b6073
commit
3ed5ced581
@ -652,7 +652,7 @@ interface_is_usable() # $1 = interface
|
|||||||
local status;
|
local status;
|
||||||
status=0
|
status=0
|
||||||
|
|
||||||
if ! loopback_interface $1 then
|
if ! loopback_interface $1; then
|
||||||
if interface_is_up $1 && [ "$(find_first_interface_address_if_any $1)" != 0.0.0.0 ]; then
|
if interface_is_up $1 && [ "$(find_first_interface_address_if_any $1)" != 0.0.0.0 ]; then
|
||||||
[ "$COMMAND" = enable ] || run_isusable_exit $1
|
[ "$COMMAND" = enable ] || run_isusable_exit $1
|
||||||
status=$?
|
status=$?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user