]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Removes break statements from keyringer_check_expiration
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Dec 2016 18:08:15 +0000 (16:08 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Dec 2016 18:08:15 +0000 (16:08 -0200)
lib/keyringer/functions

index 1d5392594395430b9364d77a689b926ea393a32d..bd87fd621e00e33b71a63e82fd8e6b9a14f3d965 100755 (executable)
@@ -728,7 +728,6 @@ function keyringer_check_expiration {
 
     if [[ -z "$expiry" ]]; then
       not_expired=1
-      break
     fi
 
     if [[ "$seconds" -lt "$expiry" ]]; then
@@ -737,7 +736,6 @@ function keyringer_check_expiration {
       if [[ "$ahead" -gt "$expiry" ]] && [ "$BASENAME" == "check" ]; then
         echo "Warning: subkey from $recipient will expire soon, on `date --date="@$expiry"`"
       fi
-      break
     fi
   done