Better wording

This commit is contained in:
Ayaz Salikhov
2021-11-16 02:07:12 +03:00
committed by GitHub
parent f55ed54e4b
commit 23e3284c20

View File

@@ -4,11 +4,11 @@
set -e set -e
# The _log function is passed everything this script wants to log. It will # The _log function is used for everything this script wants to log. It will
# always log errors and warnings, but can be silenced for other messages # always log errors and warnings, but can be silenced for other messages
# by setting JUPYTER_DOCKER_STACKS_QUIET environment variable. # by setting JUPYTER_DOCKER_STACKS_QUIET environment variable.
_log () { _log () {
if [[ "$*" == "ERROR:"* ]] || [[ "$*" == "WARNING:"* ]] || [[ "$JUPYTER_DOCKER_STACKS_QUIET" == "" ]]; then if [[ "$*" == "ERROR:"* ]] || [[ "$*" == "WARNING:"* ]] || [[ "${JUPYTER_DOCKER_STACKS_QUIET}" == "" ]]; then
echo "$@" echo "$@"
fi fi
} }