From 9315d37bda500ffd790dd37d0ae5eed65f59b62f Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 7 Aug 2024 01:03:04 -0600 Subject: [PATCH] Update checkAllsky.sh: don't display the headers in the WebUI They just make it harder to read the output. --- scripts/checkAllsky.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/checkAllsky.sh b/scripts/checkAllsky.sh index 166b6735b..a580f7ac5 100755 --- a/scripts/checkAllsky.sh +++ b/scripts/checkAllsky.sh @@ -117,6 +117,11 @@ function heading() ;; esac + if [[ ${FROM_WEBUI} == "true" ]]; then + # Don't display the header when run from the WebUI. + return + fi + if [[ ${DISPLAY_HEADER} == "true" ]]; then [[ ${NUM_HEADER_CALLS} -gt 1 ]] && echo -e "${NL}" echo -e "${STRONGs}---------- ${HEADER}${SUB_HEADER} ----------${STRONGe}${NL}"