From b4a2afdd53d562e3055cb16d129a6fe715f56e65 Mon Sep 17 00:00:00 2001 From: tavo Date: Mon, 22 Sep 2025 09:24:32 -0600 Subject: [PATCH] fix --- scripts/menu/menu-pass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/menu/menu-pass b/scripts/menu/menu-pass index e078a34..b7262a2 100755 --- a/scripts/menu/menu-pass +++ b/scripts/menu/menu-pass @@ -19,6 +19,10 @@ if [ -z "$passw" ]; then fi contents="$(pass "$passw")" +if [ "$?" != 0 ] || [ "$contents" == "" ]; then + echo "error decrypting password" + exit 1 +fi counter=0 field="$(echo "$contents" | while read -r line; do