[systemd-devel] [PATCH] core/manager: remove infinite loop
Lennart Poettering
lennart at poettering.net
Tue Dec 10 10:09:19 PST 2013
On Tue, 10.12.13 09:28, Shawn Landden (shawn at churchofgit.com) wrote:
Ouch! Thanks! Applied!
> ---
> 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 --;
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list