diff options
Diffstat (limited to 'net.Linux/pppd.sh')
-rw-r--r-- | net.Linux/pppd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net.Linux/pppd.sh b/net.Linux/pppd.sh index cf55951b..f1224dd8 100644 --- a/net.Linux/pppd.sh +++ b/net.Linux/pppd.sh @@ -114,7 +114,7 @@ pppd_pre_start() { [ -n "$1" ] && chatopts="${chatopts} -T '$1'" [ -n "$2" ] && chatopts="${chatopts} -U '$2'" eval $(_get_array "chat_${IFVAR}") - if [ -n "$@" ] ; then + if [ $# != 0 ] ; then opts="${opts} connect $(printf "'%s' " "${chatopts} $(printf "'%s' " "$@")")" fi |