summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/system/ipv6/disable-forwarding/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/ipv6/disable-forwarding/node.def b/templates/system/ipv6/disable-forwarding/node.def
index 5e689c5b..323b99d6 100644
--- a/templates/system/ipv6/disable-forwarding/node.def
+++ b/templates/system/ipv6/disable-forwarding/node.def
@@ -38,7 +38,7 @@ delete:
# forwarding was disabled, we will need to start the radvd daemon
# now.
running=$(pgrep -n radvd)
- if [[ $running -eq 0 ]] &&
+ if [[ -z "$running" ]] &&
[[ -e /etc/radvd.conf ]] &&
[[ -x /etc/init.d/radvd ]]; then
/etc/init.d/radvd start