From ca48ace386bda8cd5221fbaece1cd6b82a6e8130 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 9 Apr 2018 11:37:55 +0200 Subject: crypt-expiry-check.in: quote gpg arguments to _really_ allow spaces --- crypt-expiry-check.in | 4 ++-- 1 file 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}" | \ -- cgit v1.2.3-70-g09d2