fix
This commit is contained in:
parent
65fa57cdd3
commit
b4a2afdd53
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue