From: Jeff Atwood Date: Sat, 4 Jun 2016 22:46:49 +0000 (-0700) Subject: add quotes around SMTP_PASSWORD X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6a9f41e996d3c2b10f1151159b54bfd4f649e10d;p=discourse_docker.git add quotes around SMTP_PASSWORD --- diff --git a/discourse-setup b/discourse-setup index 3945a9b..67d84d4 100755 --- a/discourse-setup +++ b/discourse-setup @@ -321,7 +321,7 @@ ask_user_for_config() { update_ok="n" fi - sed -i -e "s/^ #DISCOURSE_SMTP_PASSWORD:.*/ DISCOURSE_SMTP_PASSWORD: $smtp_password/w $changelog" $config_file + sed -i -e "s/^ #DISCOURSE_SMTP_PASSWORD:.*/ DISCOURSE_SMTP_PASSWORD: \"$smtp_password\"/w $changelog" $config_file if [ -s $changelog ] then rm $changelog