From d2a764be712f46fecc8883a7d3616b5a1103ce71 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Wed, 28 May 2014 17:01:15 -0400 Subject: [PATCH] Fixed quotings --- nagios-website-add.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1