compel: be silent if no errors

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@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Kir Kolyshkin 2017-05-15 21:17:08 -07:00 committed by Andrei Vagin
parent 5cac11310f
commit beda098364

View file

@ -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;
}