libcore: Add sys::set_exit_status
Sets the process exit code
This commit is contained in:
@@ -82,8 +82,6 @@ void
|
||||
rust_scheduler::fail() {
|
||||
log(NULL, log_err, "domain %s @0x%" PRIxPTR " root task failed",
|
||||
name, this);
|
||||
I(this, kernel->rval == 0);
|
||||
kernel->rval = PROC_FAIL_CODE;
|
||||
kernel->fail();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user