Fixed quotings master
authorLisa Marie Maginnis <lisam@fsf.org>
Wed, 28 May 2014 21:01:15 +0000 (17:01 -0400)
committerLisa Marie Maginnis <lisam@fsf.org>
Wed, 28 May 2014 21:01:15 +0000 (17:01 -0400)
nagios-website-add.sh

index 1ee8c8f058b754eefa3bf5cf853d7bfedcd88420..9e1629f184b89c30dcc8d4a54484b7c01c460f16 100755 (executable)
@@ -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