summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2013-12-10 09:28:26 -0800
committerLennart Poettering <lennart@poettering.net>2013-12-10 18:08:25 +0000
commit145b1f799ff6712f333cef92c44218254a1320c5 (patch)
tree1bdabb18a780f6394d79610ed66ac1ee0eeefcf9 /src
parent80514f9c9bb86dbba761e4b026e5d62156ea112c (diff)
core/manager: remove infinite loop
Diffstat (limited to 'src')
-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 --;