Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554.

This commit is contained in:
Roy Marples
2007-04-30 13:19:26 +00:00
parent 0380d98d7d
commit c3d899714c
5 changed files with 7 additions and 5 deletions

View File

@ -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