[CRIU] [PATCH] zdtm: exit with the zero code if everything is ok

Pavel Emelyanov xemul at parallels.com
Wed Aug 14 06:47:30 EDT 2013


On 08/14/2013 02:08 PM, Andrey Vagin wrote:
> Cc: Yicheng Qin <yichengq at google.com>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  test/zdtm.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/zdtm.sh b/test/zdtm.sh
> index ca8acc8..f6065d3 100755
> --- a/test/zdtm.sh
> +++ b/test/zdtm.sh
> @@ -724,4 +724,4 @@ else
>  fi
>  
>  [ -n "$TMP_TREE" ] && rm -rf $TMP_TREE
> -[ -n "$ZDTM_FAILED" ] && exit 1
> +[ -n "$ZDTM_FAILED" ] && exit 1 || exit 0
> 


applied


More information about the CRIU mailing list