Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Patap
bash-http-monitoring
Commits
e57e67c4
Commit
e57e67c4
authored
Dec 28, 2020
by
A Rabbit
Committed by
Remy
Dec 28, 2020
Browse files
Fix syntax
parent
74a21867
Changes
1
Hide whitespace changes
Inline
Side-by-side
srvmon
View file @
e57e67c4
...
@@ -223,7 +223,7 @@ cleanupOKCheckFiles() {
...
@@ -223,7 +223,7 @@ cleanupOKCheckFiles() {
writeHeader() {
writeHeader() {
if [[ "$cgi" = true ]]; then
if [[ "$
{
cgi
}
" = true ]]; then
printf "Content-type: text/html\n\n";
printf "Content-type: text/html\n\n";
fi
fi
echo '
<!doctype html>
<html
lang=
"en"
><head><meta
charset=
"utf-8"
><meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
'
echo '
<!doctype html>
<html
lang=
"en"
><head><meta
charset=
"utf-8"
><meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment