mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 15:55:53 +00:00
check: Set error log level before checking
Not to spoil screen with false warnings. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -409,6 +409,8 @@ int cr_check(void)
|
|||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
log_set_loglevel(LOG_ERROR);
|
||||||
|
|
||||||
if (mntns_collect_root(getpid())) {
|
if (mntns_collect_root(getpid())) {
|
||||||
pr_err("Can't collect root mount point\n");
|
pr_err("Can't collect root mount point\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user