This commit is contained in:
tavo 2025-09-22 09:24:32 -06:00
parent 65fa57cdd3
commit b4a2afdd53

View file

@ -19,6 +19,10 @@ if [ -z "$passw" ]; then
fi fi
contents="$(pass "$passw")" contents="$(pass "$passw")"
if [ "$?" != 0 ] || [ "$contents" == "" ]; then
echo "error decrypting password"
exit 1
fi
counter=0 counter=0
field="$(echo "$contents" | while read -r line; do field="$(echo "$contents" | while read -r line; do