summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-02-03 04:35:42 (EST)
committer P. J. McDermott <pjm@nac.net>2012-02-03 04:36:06 (EST)
commit95c7b9e37defeb004388fdf49a3af63070bb6dbe (patch)
treeac3e7dafdb6471d6659b201057309d5c9f9f5efb
parent2c0580e98de6d37f94c9b0c119a9699003c35377 (diff)
Redirect error message to stderr.
-rw-r--r--src/opkbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opkbuild b/src/opkbuild
index b3a5f84..542fe4e 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -30,7 +30,7 @@ print_usage()
error()
{
- printf 'opkbuild: [%s] Error\n' "${1}"
+ printf 'opkbuild: [%s] Error\n' "${1}" >&2
if ${dbg}; then
printf 'opkbuild: Starting debugging shell...' >&2
/bin/sh