diff --git a/tinystatus b/tinystatus index 0bcca7d..42dd45e 100755 --- a/tinystatus +++ b/tinystatus @@ -1,6 +1,7 @@ #!/usr/bin/env sh title=tinystatus +header="Global Status" timeout=10 tmp="$(mktemp -d)" checkfile="${1:-checks.csv}" @@ -83,7 +84,7 @@ li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px soli
-

Global status

+

${header}

EOF outagenb="$(find "${tmp}/ko" -mindepth 1 | grep -c 'status$')" if [ "${outagenb}" -ne 0 ]; then