Fix more formatting errors

This commit is contained in:
Manuel Friedli 2017-09-04 14:30:40 +02:00
parent bd8b1a2501
commit 8ee5ede834

View File

@ -92,10 +92,10 @@ fritzbox_deploy() {
_info "Upload certificate to the FRITZ!Box" _info "Upload certificate to the FRITZ!Box"
export _H1="Content-type: multipart/form-data boundary=${_post_boundary}" export _H1="Content-type: multipart/form-data boundary=${_post_boundary}"
_post "$(cat ${_post_request})" "${_fritzbox_url}/cgi-bin/firmwarecfg" | grep SSL _post "$(cat "${_post_request}")" "${_fritzbox_url}/cgi-bin/firmwarecfg" | grep SSL
retval=$? retval=$?
if [ $retval = 0 ] ; then if [ $retval = 0 ]; then
_info "Upload successful" _info "Upload successful"
else else
_err "Upload failed" _err "Upload failed"