[systemd-devel] [PATCH] core/manager: remove infinite loop

Shawn Landden shawn at churchofgit.com
Tue Dec 10 09:28:26 PST 2013


---
 src/core/manager.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/core/manager.c b/src/core/manager.c
index f06df54..c25343f 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 --;
-- 
1.8.5.1



More information about the systemd-devel mailing list