summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/output.sh6
2 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 038a315..ff4dba4 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Released: ????-??-??
Changes in this release:
* The process-incoming command now removes processed files.
+ * All output is now sent to stderr. (Previously, only some of it was.)
ProteanOS Archive Manager version 1.0.0
---------------------------------------
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
}