projects
/
nagios-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f895676
)
Fixed quotings
master
author
Lisa Marie Maginnis
<lisam@fsf.org>
Wed, 28 May 2014 21:01:15 +0000
(17:01 -0400)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Wed, 28 May 2014 21:01:15 +0000
(17:01 -0400)
nagios-website-add.sh
patch
|
blob
|
blame
|
history
diff --git
a/nagios-website-add.sh
b/nagios-website-add.sh
index 1ee8c8f058b754eefa3bf5cf853d7bfedcd88420..9e1629f184b89c30dcc8d4a54484b7c01c460f16 100755
(executable)
--- 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