aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/pppd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net.Linux/pppd.sh')
-rw-r--r--net.Linux/pppd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.Linux/pppd.sh b/net.Linux/pppd.sh
index f1224dd8..8829ab95 100644
--- a/net.Linux/pppd.sh
+++ b/net.Linux/pppd.sh
@@ -115,7 +115,7 @@ pppd_pre_start() {
[ -n "$2" ] && chatopts="${chatopts} -U '$2'"
eval $(_get_array "chat_${IFVAR}")
if [ $# != 0 ] ; then
- opts="${opts} connect $(printf "'%s' " "${chatopts} $(printf "'%s' " "$@")")"
+ opts="${opts} connect $(printf "\\'%s\\'" "${chatopts} $(printf "\\'\\\\'\\'%s\\'\\\'' " "$@")")"
fi
# Add plugins