summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalgpgexpandkeyring2
1 files changed, 1 insertions, 1 deletions
diff --git a/localgpgexpandkeyring b/localgpgexpandkeyring
index 9eabf1e..fc8a79f 100755
--- a/localgpgexpandkeyring
+++ b/localgpgexpandkeyring
@@ -4,7 +4,7 @@
set -e
# set e.g. GPG=gpg2 in environment to override binary to use
-GPG=${GPG:+gpg}
+GPG=${GPG:-gpg}
# my keys are those with a corresponding secret key
mykeys=$($GPG --batch --list-secret-keys --with-colons | grep '^sec' | cut -d: -f5)