summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-11 17:15:07 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-11 17:19:10 (EDT)
commit9d220efaa381e9ea46bb17ffb9d977253c5ef1b1 (patch)
tree36f4ec9dcf4ecbe6ddfb6e94b7a3849a86d707da /lib
parentc9b56e3a4db6bf8c4595ca5ea161289678ea2865 (diff)
error(), warn(), info(): Print args to stderr.
Diffstat (limited to 'lib')
-rw-r--r--lib/output.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/output.sh b/lib/output.sh
index 9c0cf85..7a7888e 100644
--- a/lib/output.sh
+++ b/lib/output.sh
@@ -27,7 +27,7 @@ error()
shift 2
printf '%s: Error: ' "${0##*/}" >&2
- printf "${fmt}\n" "${@}"
+ printf "${fmt}\n" "${@}" >&2
fini
@@ -40,7 +40,7 @@ warn()
shift 1
printf '%s: Warning: ' "${0##*/}" >&2
- printf "${fmt}\n" "${@}"
+ printf "${fmt}\n" "${@}" >&2
return 0
}
@@ -51,7 +51,7 @@ info()
shift 1
printf '%s: ' "${0##*/}" >&2
- printf "${fmt}\n" "${@}"
+ printf "${fmt}\n" "${@}" >&2
return 0
}