diff options
Diffstat (limited to 'shlib/log.sh')
| -rw-r--r-- | shlib/log.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shlib/log.sh b/shlib/log.sh index 3fcf758..f4e46ff 100644 --- a/shlib/log.sh +++ b/shlib/log.sh @@ -1,5 +1,5 @@ -# shellcheck shell=bash -[[ -n "${DOTFILES_LOG_LOADED:-}" ]] && return +# shellcheck shell=sh +[ -n "${DOTFILES_LOG_LOADED:-}" ] && return readonly DOTFILES_LOG_LOADED=1 log_info() { @@ -19,7 +19,7 @@ log_success() { } log_debug() { - [[ "${DEBUG:-}" == "true" ]] && echo "[DEBUG] $*" >&2 + [ "${DEBUG:-}" == "true" ] && echo "[DEBUG] $*" >&2 } log_newline() { |