From: Lisa Marie Maginnis Date: Wed, 28 May 2014 21:01:15 +0000 (-0400) Subject: Fixed quotings X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=HEAD;p=nagios-scripts.git Fixed quotings --- diff --git a/nagios-website-add.sh b/nagios-website-add.sh index 1ee8c8f..9e1629f 100755 --- a/nagios-website-add.sh +++ b/nagios-website-add.sh @@ -101,7 +101,7 @@ while getopts "rADWw:h:sc:C:" opt; do reload=1 ;; C) - content_data=${OPTARG} + content_data="${OPTARG}" content=1 ;; *) @@ -172,7 +172,7 @@ else fi if [ $content -eq 1 ]; then - set-content-params $website $host $content_data + set-content-params $website $host "$content_data" write-config-body >> $config_file_web fi