forked from koniifer/ableos
Exit
This commit is contained in:
parent
9ee3e9cb5f
commit
b45d235312
|
@ -46,6 +46,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
) {
|
) {
|
||||||
unsafe {
|
unsafe {
|
||||||
eprintln!("[E] Memory access fault at {:p}", (*info).si_addr());
|
eprintln!("[E] Memory access fault at {:p}", (*info).si_addr());
|
||||||
|
exit(2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue