From 145b1f799ff6712f333cef92c44218254a1320c5 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Tue, 10 Dec 2013 09:28:26 -0800 Subject: core/manager: remove infinite loop --- src/core/manager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/core/manager.c b/src/core/manager.c index f06df54d91..c25343ffa0 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -2211,10 +2211,8 @@ int manager_deserialize(Manager *m, FILE *f, FDSet *fds) { } finish: - if (ferror(f)) { + if (ferror(f)) r = -EIO; - goto finish; - } assert(m->n_reloading > 0); m->n_reloading --; -- cgit v1.2.3-54-g00ecf