log_notice("Reexecuting.");
- *ret_retval = EXIT_SUCCESS;
+ *ret_retval = EXIT_FAILURE;
*ret_switch_root_dir = *ret_switch_root_init = NULL;
return objective;
log_notice("Switching root.");
- *ret_retval = EXIT_SUCCESS;
+ *ret_retval = EXIT_FAILURE;
/* Steal the switch root parameters */
*ret_switch_root_dir = TAKE_PTR(m->switch_root);
log_notice("Soft-rebooting.");
- *ret_retval = EXIT_SUCCESS;
+ *ret_retval = EXIT_FAILURE;
*ret_switch_root_dir = TAKE_PTR(m->switch_root);
*ret_switch_root_init = NULL;