Skip to content

Commit

Permalink
Update checkAllsky.sh: don't display the headers in the WebUI
Browse files Browse the repository at this point in the history
They just make it harder to read the output.
  • Loading branch information
EricClaeys authored Aug 7, 2024
1 parent 225f509 commit 9315d37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/checkAllsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 9315d37

Please sign in to comment.