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

This commit is contained in:
2014-09-17 10:46:53 +02:00
parent 28101f7305
commit 07f2c57b9f

View File

@@ -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() {