Commit 07f2c57b authored by gsell's avatar gsell
Browse files

lib.bash: bugfix in debug(); log everything to stderr

parent 28101f73
......@@ -48,7 +48,7 @@ log() {
}
info() {
log 1 "$1\n" "${@:2}"
log 2 "$1\n" "${@:2}"
}
error() {
......@@ -57,7 +57,7 @@ error() {
debug() {
[[ ${EM_DEBUG} ]] || return 0
log "$@"
log 2 "$@"
}
die() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment