diff options
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}" | \ |