diff options
author | Erich Eckner <git@eckner.net> | 2018-04-09 11:37:55 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-09 11:37:55 +0200 |
commit | ca48ace386bda8cd5221fbaece1cd6b82a6e8130 (patch) | |
tree | cb139bbb3307c19fdf898a338f741ac4eb2db602 /crypt-expiry-check.in | |
parent | 507b4d7efce270ae59302804f2ea0b2759fb6ec5 (diff) | |
download | crypt-expiry-check-ca48ace386bda8cd5221fbaece1cd6b82a6e8130.tar.xz |
crypt-expiry-check.in: quote gpg arguments to _really_ allow spaces
Diffstat (limited to 'crypt-expiry-check.in')
-rwxr-xr-x | crypt-expiry-check.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt-expiry-check.in b/crypt-expiry-check.in index d70988e..aade444 100755 --- a/crypt-expiry-check.in +++ b/crypt-expiry-check.in @@ -404,8 +404,8 @@ check_gpg_key_status() { fi GPG_ADDRESS="${2}" - KEY_INFO="$(${1} --list-secret-keys ${GPG_ADDRESS} 2> /dev/null)" - [ -z "${KEY_INFO}" ] && KEY_INFO="$(${1} --list-keys ${GPG_ADDRESS})" + KEY_INFO="$(${1} --list-secret-keys "${GPG_ADDRESS}" 2> /dev/null)" + [ -z "${KEY_INFO}" ] && KEY_INFO="$(${1} --list-keys "${GPG_ADDRESS}")" KEY_DATE_STR="$( echo "${KEY_INFO}" | \ |