[CRIU] [PATCH] compel: be silent if no errors
Andrei Vagin
avagin at virtuozzo.com
Thu Jun 22 00:28:16 MSK 2017
Applied, thanks!
On Mon, May 15, 2017 at 09:17:08PM -0700, Kir Kolyshkin wrote:
> In case of success, we want to be silent when on default log level.
>
> This is a time-honored UNIX tradition, who we are to break it?
>
> Signed-off-by: Kir Kolyshkin <kir at openvz.org>
> ---
> compel/src/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/compel/src/main.c b/compel/src/main.c
> index 4f53e7e..1171478 100644
> --- a/compel/src/main.c
> +++ b/compel/src/main.c
> @@ -103,7 +103,7 @@ err:
> if (opts.fout)
> fclose(opts.fout);
> if (!ret)
> - printf("%s generated successfully.\n", opts.output_filename);
> + pr_info("%s generated successfully.\n", opts.output_filename);
> return ret;
> }
>
> --
> 2.9.3
>
More information about the CRIU
mailing list