diff options
Diffstat (limited to 'src/password-store.sh')
-rwxr-xr-x | src/password-store.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index afdaf39..c9a8f29 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -310,7 +310,7 @@ cmd_show() { check_sneaky_paths "$path" if [[ -f $passfile ]]; then if [[ $clip -eq 0 ]]; then - exec $GPG -d "${GPG_OPTS[@]}" "$passfile" + $GPG -d "${GPG_OPTS[@]}" "$passfile" || exit $? else local pass="$($GPG -d "${GPG_OPTS[@]}" "$passfile" | head -n 1)" [[ -n $pass ]] || exit 1 |