diff --git a/cr-restore.c b/cr-restore.c index da4a64017..634de02d4 100644 --- a/cr-restore.c +++ b/cr-restore.c @@ -1778,7 +1778,7 @@ out_kill: out: __restore_switch_stage(CR_STATE_FAIL); pr_err("Restoring FAILED.\n"); - return 1; + return -1; } static int prepare_task_entries(void)