65878a
From 31a3bfaf3da730a2d6f32a8ab9d9e10e77905d4f Mon Sep 17 00:00:00 2001
65878a
From: Shawn Landden <shawn@churchofgit.com>
65878a
Date: Tue, 10 Dec 2013 09:28:26 -0800
65878a
Subject: [PATCH] core/manager: remove infinite loop
65878a
65878a
---
65878a
 src/core/manager.c | 4 +---
65878a
 1 file changed, 1 insertion(+), 3 deletions(-)
65878a
65878a
diff --git a/src/core/manager.c b/src/core/manager.c
65878a
index 944c196..a34a3c6 100644
65878a
--- a/src/core/manager.c
65878a
+++ b/src/core/manager.c
65878a
@@ -2285,10 +2285,8 @@ int manager_deserialize(Manager *m, FILE *f, FDSet *fds) {
65878a
         }
65878a
 
65878a
 finish:
65878a
-        if (ferror(f)) {
65878a
+        if (ferror(f))
65878a
                 r = -EIO;
65878a
-                goto finish;
65878a
-        }
65878a
 
65878a
         assert(m->n_reloading > 0);
65878a
         m->n_reloading --;