spm

simple password manager
git clone anongit@rnpnr.xyz:spm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 47fc1fbe865eb513ee9bdac132d80e6bf0f43ea2
Parent: 01f5b8ec9b51261ba8bd9217be46a1e7f0be2452
Author: Klemens Nanni
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.

Diffstat:
Mspm.sh | 2+-
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 }