summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-12-19 16:08:15 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-12-19 16:08:15 -0200
commitef29f9d23a98b4e18b2400f3dd29b32de81514a7 (patch)
treec720bc8672f9ecbbbfd56048bdc1a6e4e219ce51
parentbcf239c6f069ad6c8d433f89a86b909f432ffab1 (diff)
downloadkeyringer-ef29f9d23a98b4e18b2400f3dd29b32de81514a7.tar.gz
keyringer-ef29f9d23a98b4e18b2400f3dd29b32de81514a7.tar.bz2
Removes break statements from keyringer_check_expiration
-rwxr-xr-xlib/keyringer/functions2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 1d53925..bd87fd6 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -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