[CRIU] [PATCH] sk-unix: Don't zap error returned

Pavel Emelyanov xemul at parallels.com
Wed Mar 27 05:39:35 EDT 2013


On 03/27/2013 12:57 PM, Cyrill Gorcunov wrote:
> If error happened during queue read don't zap it.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  sk-unix.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sk-unix.c b/sk-unix.c
> index eb22763..eb424fa 100644
> --- a/sk-unix.c
> +++ b/sk-unix.c
> @@ -808,7 +808,7 @@ int collect_unix_sockets(void)
>  	if (!ret)
>  		ret = read_sk_queues();
>  
> -	return 0;
> +	return ret;
>  }
>  
>  int resolve_unix_peers(void)
> 


Applied


More information about the CRIU mailing list