mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 01:59:04 +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:
parent
54148db18f
commit
23bf4faa0d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue