mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +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;
|
||||
|
||||
log_set_loglevel(LOG_ERROR);
|
||||
|
||||
if (mntns_collect_root(getpid())) {
|
||||
pr_err("Can't collect root mount point\n");
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user