aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index fdd8439..0360bb4 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -715,6 +715,7 @@ function keyringer_check_expiration {
fi
# Check the subkeys
+ expiry=""
for expiry in `gpg --with-colons --fixed-list-mode --list-keys "$recipient" | grep ^sub | cut -d : -f 7`; do
if [[ "$seconds" -lt "$expiry" ]]; then
not_expired="1"