mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
sorround update URL with double qoutes
This commit is contained in:
parent
5c5134f233
commit
68bd749164
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user