summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/password-store.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 701a750..575371a 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -432,8 +432,7 @@ cmd_edit() {
fi
${EDITOR:-vi} "$tmp_file"
while ! $GPG -e "${GPG_RECIPIENT_ARGS[@]}" -o "$passfile" "${GPG_OPTS[@]}" "$tmp_file"; do
- echo "GPG encryption failed. Retrying."
- sleep 1
+ yesno "GPG encryption failed. Would you like to try again?"
done
git_add_file "$passfile" "$action password for $path using ${EDITOR:-vi}."
}