diff options
-rw-r--r-- | templates/system/ipv6/disable-forwarding/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/system/ipv6/disable-forwarding/node.def b/templates/system/ipv6/disable-forwarding/node.def index eefb8328..5e689c5b 100644 --- a/templates/system/ipv6/disable-forwarding/node.def +++ b/templates/system/ipv6/disable-forwarding/node.def @@ -25,7 +25,7 @@ delete: for i in * ; do if [[ "$i" == "default" ]] || [[ "$i" == "all" ]] || - [[ ! -d "$i" ]; then + [[ ! -d "$i" ]]; then continue fi if [[ -e /var/run/vyatta/ipv6_no_fwd.$i ]]; then @@ -40,7 +40,7 @@ delete: running=$(pgrep -n radvd) if [[ $running -eq 0 ]] && [[ -e /etc/radvd.conf ]] && - [[ -x /etc/init.d/radvd ]; then + [[ -x /etc/init.d/radvd ]]; then /etc/init.d/radvd start fi |