m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/password-store.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index e9a3c39..c576844 100755
--- 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