From 11537481fd174f5e5294da2d51e2cba9fbfdbd8d Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 16 Dec 2015 23:50:52 +1100 Subject: [PATCH] Fail gracefully after 5 unsuccessful attempts to update_base --- src/stratifier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stratifier.c b/src/stratifier.c index 37a0cda7..fef6eb13 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -932,6 +932,8 @@ retry: LOGWARNING("Generator returned failure in update_base, retry #%d", retries); goto retry; } + LOGWARNING("Generator failed in update_base after retrying"); + goto out; } if (unlikely(retries)) LOGWARNING("Generator succeeded in update_base after retrying");