From 68bd74916448821a8504a51765bc2f72da407123 Mon Sep 17 00:00:00 2001 From: Daniel Steglich Date: Wed, 4 Mar 2015 10:01:48 +0000 Subject: [PATCH] sorround update URL with double qoutes --- actions/dynamicdns | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/actions/dynamicdns b/actions/dynamicdns index 23ae60ffe..1c40b99a1 100755 --- a/actions/dynamicdns +++ b/actions/dynamicdns @@ -240,13 +240,13 @@ doUpdate() doReplaceVars if [ "${basicauth}" = "enabled" ];then - wgetoptions=" --user $user --password $pass " + local wgetoptions=" --user $user --password $pass " fi - if [ "${ignoreCertError}" = "enabled" ];then - wgetoptions=" --no-check-certificate " + if [ "${ignoreCertError}" = "enabled" ];then + local wgetoptions=" --no-check-certificate " fi - $WGET ${wgetoptions} ${updateurl} + $WGET ${wgetoptions} "${updateurl}" [ $? -eq 0 ] && ${0} success fi }