diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-26 09:01:56 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-26 09:01:56 -0500 |
| commit | 1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2 (patch) | |
| tree | 33cdba30255cb9699975b0ffd11d8bc29424aa96 /shlib/log.sh | |
| parent | Add wallpapers (diff) | |
| download | dotfiles-1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2.zip | |
Add support for openbsd
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() { |