summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/output.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/output.sh b/lib/output.sh
index 6f346fe..a5b8b11 100644
--- a/lib/output.sh
+++ b/lib/output.sh
@@ -22,9 +22,6 @@ _OB_MESSAGES_SH=true
ob_use locale
-# TODO: Which of these should print to the standard error stream – just
-# ob_error() and ob_warn()?
-
ob_error()
{
printf '%s: Error: ' "${0##*/}" >&2
@@ -53,9 +50,9 @@ ob_info()
return 125
fi
- printf '%s: ' "${0##*/}"
- printf "${@}"
- printf '\n'
+ printf '%s: ' "${0##*/}" >&2
+ printf "${@}" >&2
+ printf '\n' >&2
return 0
}