chiark / gitweb /
core/manager: remove infinite loop
authorShawn Landden <shawn@churchofgit.com>
Tue, 10 Dec 2013 17:28:26 +0000 (09:28 -0800)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 Dec 2013 18:08:25 +0000 (18:08 +0000)
src/core/manager.c

index f06df54..c25343f 100644 (file)
@@ -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 --;