Translate return from do_restart properly