mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
dump: Use pr_err when reporting error about locks in use and no -l option
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -1084,7 +1084,7 @@ static int collect_file_locks(const struct cr_options *opts)
|
||||
* be used by container dumping.
|
||||
*/
|
||||
if (!list_empty(&file_lock_list)) {
|
||||
pr_perror("Some file locks are hold by dumping tasks!"
|
||||
pr_err("Some file locks are hold by dumping tasks!"
|
||||
"You can try -l to dump them.");
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user