aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net/iproute2.sh')
-rw-r--r--net/iproute2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iproute2.sh b/net/iproute2.sh
index ca43496..4abc47c 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -290,7 +290,7 @@ _add_route()
# Process dev vs nodev routes
# Positional parameters are used for correct array handling
- if [ -n ${rtype} ]; then
+ if [ -n "${rtype}" ]; then
local nodev_routes="$(service_get_value "nodev_routes")"
service_set_value "nodev_routes" "${nodev_routes}
${family} route del ${rtype} ${cmd}"