From f07291ba3ba1ac5bfb22474faadfd702db088af2 Mon Sep 17 00:00:00 2001 From: Lenz Weber Date: Wed, 28 Jan 2015 17:36:13 +0100 Subject: cygwin + gpg4win: convert paths to windows paths when calling gpg4win binary instead of cygwin's gpg binary --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/password-store.sh') 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 -- cgit v1.2.3-54-g00ecf