2
0
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:
Pavel Emelyanov
2012-11-12 17:04:24 +03:00
parent 54148db18f
commit 23bf4faa0d

View File

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