[CRIU] [PATCH] restore: add missing break-s

Tycho Andersen tycho.andersen at canonical.com
Mon Apr 4 09:44:47 PDT 2016


On Fri, Apr 01, 2016 at 08:20:05AM +0300, Andrey Vagin wrote:
> From: Andrew Vagin <avagin at virtuozzo.com>

Whoops, thanks.

Tycho

> Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
> ---
>  criu/cr-restore.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/criu/cr-restore.c b/criu/cr-restore.c
> index 2f51344..0720c07 100644
> --- a/criu/cr-restore.c
> +++ b/criu/cr-restore.c
> @@ -1042,11 +1042,13 @@ static int wait_on_helpers_zombies(void)
>  				pr_perror("Wait on %d zombie failed\n", pid);
>  				return -1;
>  			}
> +			break;
>  		case TASK_HELPER:
>  			if (waitpid(pid, &status, 0) != pid) {
>  				pr_perror("waitpid for helper %d failed", pid);
>  				return -1;
>  			}
> +			break;
>  		}
>  	}
>  
> -- 
> 2.5.0
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list