]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Coding style
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Dec 2016 14:27:43 +0000 (12:27 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Dec 2016 14:27:43 +0000 (12:27 -0200)
lib/keyringer/functions

index fd0176b3e231422767c5c1817fd9c71158a672ed..d2a83f4f3f14cc32feb957571108137f2d70921f 100755 (executable)
@@ -725,10 +725,12 @@ function keyringer_check_expiration {
   local subkey=""
   for subkey in $(gpg --with-colons --fixed-list-mode --list-keys "$recipient" | grep ^sub); do
     local expiry=$(cut -d : -f 7 <<< "$subkey")
+
     if [[ -z "$expiry" ]]; then
-       not_expired=1
-       break
+      not_expired=1
+      break
     fi
+
     if [[ "$seconds" -lt "$expiry" ]]; then
       not_expired="1"