diff options
-rw-r--r-- | net/l2tp.sh | 2 | ||||
-rw-r--r-- | net/pppd.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/l2tp.sh b/net/l2tp.sh index 7c5b064..9644e32 100644 --- a/net/l2tp.sh +++ b/net/l2tp.sh @@ -81,7 +81,7 @@ _l2tp_get_tunnel_info() { _ip_l2tp_add() { local e - e="$(LC_ALL=C ip l2tp add $@ 2>&1 1>/dev/null)" + e="$(LC_ALL=C ip l2tp add "$@" 2>&1 1>/dev/null)" case $e in "") return 0 diff --git a/net/pppd.sh b/net/pppd.sh index 796722e..e3c4d43 100644 --- a/net/pppd.sh +++ b/net/pppd.sh @@ -163,7 +163,7 @@ pppd_pre_start() # We need to flatten the useless array set -- $(_get_array "chat_${IFVAR}") if [ $# != 0 ]; then - opts="${opts} connect '$(echo ${chatprog} $@ | sed -e "s:':'\\\\'':g")'" + opts="${opts} connect '$(echo ${chatprog} "$@" | sed -e "s:':'\\\\'':g")'" fi # Add plugins |