commit 47fc1fbe865eb513ee9bdac132d80e6bf0f43ea2
parent 01f5b8ec9b51261ba8bd9217be46a1e7f0be2452
Author: Klemens Nanni <kl3@posteo.org>
Date: Sun, 29 May 2016 00:18:48 +0200
parent 01f5b8ec9b51261ba8bd9217be46a1e7f0be2452
Author: Klemens Nanni <kl3@posteo.org>
Date: Sun, 29 May 2016 00:18:48 +0200
Revert "Write error messages to stderr only" This reverts commit 2ce3615e98ebbf6897d83064a29a579dc3bc9b2c. >&1 means "redirect printf's output to stdout", so 2c361 actually broke the very functionality it was supposed to implement/add. I don't know why I even committed this in the first place, but now it's fixed again: Normal output from `list' and `show' go to stdout, diagnostic messages appear on stderr making spm easier to handle/work with.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spm.sh b/spm.sh @@ -31,7 +31,7 @@ fi ## Helper die() { - printf '%s\n' "${1}" >&1 + printf '%s\n' "${1}" 1>&2 exit 1 }