summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalgpgcleankeyring4
1 files changed, 2 insertions, 2 deletions
diff --git a/localgpgcleankeyring b/localgpgcleankeyring
index 0be9c67..ade8e47 100755
--- a/localgpgcleankeyring
+++ b/localgpgcleankeyring
@@ -6,7 +6,7 @@
# my key should probably be the first secret key listed
mykey=$(gpg --list-secret-keys --with-colons | grep '^sec' | cut -d: -f5 | head -1)
if
- [ -z $mykey ]
+ [ -z "$mykey" ]
then
# exit if no key string
echo "Can't get user's key ID"
@@ -31,7 +31,7 @@ deleters=$(gpg --list-keys --with-colons | grep '^pub' | cut -d: -f5 | egrep -v
# echo the command if there are any to delete
# command is interactive
if
- [ -z $deleters ]
+ [ -z "$deleters" ]
then
echo "# Nothing to delete!"
else