From 188783ac1a3677942a02aa79cdafd2c998a14cef Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Sat, 1 Feb 2014 00:36:36 +0100
Subject: [PATCH] Stats: return false if update has failed

---
 src/Stats.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Stats.cxx b/src/Stats.cxx
index 6d406a438..53cb02c81 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -90,7 +90,7 @@ stats_update()
 		LogError(error);
 
 		stats_validity = StatsValidity::FAILED;
-		return true;
+		return false;
 	}
 }