summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/manager.c4
1 files changed, 1 insertions, 3 deletions
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 --;