fix: debug function return value

This commit is contained in:
bastimeyer 2021-12-08 12:03:51 +01:00
parent fad3edc23e
commit bd55608b76

View file

@ -147,7 +147,9 @@ msg() {
} }
debug() { debug() {
[[ ${DEBUG} == 1 ]] && echo "[${SELF}][debug] ${@}" if [[ ${DEBUG} == 1 ]]; then
echo "[${SELF}][debug] ${@}"
fi
} }
check_dir() { check_dir() {