password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 8500984943be4fc89f870a30766a385883556283
parent 1476be164b8eadb258301015b6fd21dcb64118c0
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Sun, 23 Mar 2014 06:02:42 -0300

Use heredoc for unset error.

Suggested-by: Tom Vincent <pass@tlvince.com>

Diffstat:
Msrc/password-store.sh | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/password-store.sh b/src/password-store.sh @@ -102,10 +102,12 @@ set_gpg_recipients() { current="$current/.gpg-id" if [[ ! -f $current ]]; then - echo "You must run:" - echo " $program init your-gpg-id" - echo "before you may use the password store." - echo + cat <<-_EOF + ERROR: You must run: + $program init your-gpg-id + before you may use the password store. + + _EOF usage exit 1 fi