mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +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:
parent
a73259522b
commit
21c663dc01
@ -1084,7 +1084,7 @@ static int collect_file_locks(const struct cr_options *opts)
|
|||||||
* be used by container dumping.
|
* be used by container dumping.
|
||||||
*/
|
*/
|
||||||
if (!list_empty(&file_lock_list)) {
|
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.");
|
"You can try -l to dump them.");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user