core/manager: remove infinite loop
This commit is contained in:
parent
80514f9c9b
commit
145b1f799f
|
@ -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 --;
|
||||
|
|
Loading…
Reference in New Issue