Skip to content
Snippets Groups Projects
Commit 85009849 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld
Browse files

Use heredoc for unset error.


Suggested-by: default avatarTom Vincent <pass@tlvince.com>
parent 1476be16
No related branches found
No related tags found
No related merge requests found
...@@ -102,10 +102,12 @@ set_gpg_recipients() { ...@@ -102,10 +102,12 @@ set_gpg_recipients() {
current="$current/.gpg-id" current="$current/.gpg-id"
if [[ ! -f $current ]]; then if [[ ! -f $current ]]; then
echo "You must run:" cat <<-_EOF
echo " $program init your-gpg-id" ERROR: You must run:
echo "before you may use the password store." $program init your-gpg-id
echo before you may use the password store.
_EOF
usage usage
exit 1 exit 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment