aboutsummaryrefslogtreecommitdiff
path: root/conf.d.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-30 13:19:26 +0000
committerRoy Marples <roy@marples.name>2007-04-30 13:19:26 +0000
commitc3d899714c6e68ea13cb15a75829ba16ea6cf217 (patch)
tree64de6cc8289e177f4b6738034779162bc0bb6fae /conf.d.Linux
parent0380d98d7dd8d0880764a2d0878df56d4e858b45 (diff)
Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554.
Diffstat (limited to 'conf.d.Linux')
-rw-r--r--conf.d.Linux/net.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d.Linux/net.example b/conf.d.Linux/net.example
index 6d016bfc..6934d6c1 100644
--- a/conf.d.Linux/net.example
+++ b/conf.d.Linux/net.example
@@ -990,7 +990,7 @@
# # 'from 216.113.223.51/32 to 192.168.1.0/24 table localnet priority 100' \
# #"
# eval set -- $\rules_${IFVAR}
-# if [ -n "$@" ] ; then
+# if [ $# != 0 ] ; then
# einfo "Adding IP policy routing rules"
# eindent
# # Ensure that the kernel supports policy routing