2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

criu: Do not print failed message when there is no late stage hook

This is highly confusing, and it seems that the ret variable
is not handled in the subsequent process.

Signed-off-by: Yuanhong Peng <yummypeng@linux.alibaba.com>
This commit is contained in:
Yuanhong Peng 2025-04-02 18:48:12 +08:00 committed by Andrei Vagin
parent 1cab647b37
commit 4249c11213

View File

@ -2258,7 +2258,7 @@ skip_ns_bouncing:
* might actually be a true error code but that would be also
* captured in the plugin so no need to print the error here.
*/
if (ret < 0)
if (ret < 0 && ret != -ENOTSUP)
pr_debug("restore late stage hook for external plugin failed\n");
}