Skip to content

Commit

Permalink
Fix apparent logic error in _log
Browse files Browse the repository at this point in the history
Make noise when JUPYTER_DOCKER_STACKS_QUIET is empty
  • Loading branch information
maresb committed Nov 12, 2021
1 parent 0641058 commit a59c3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base-notebook/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -e
# always log errors and warnings, but can be silenced by setting
# JUPYTER_DOCKER_STACKS_QUIET.
_log () {
if [[ "$*" == "ERROR:"* ]] || [[ "$*" == "WARNING:"* ]] || [[ "$JUPYTER_DOCKER_STACKS_QUIET" != "" ]]; then
if [[ "$*" == "ERROR:"* ]] || [[ "$*" == "WARNING:"* ]] || [[ "$JUPYTER_DOCKER_STACKS_QUIET" == "" ]]; then
echo "$@"
fi
}
Expand Down

0 comments on commit a59c3bb

Please sign in to comment.