mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Avoid the Windows abort dialog
This commit is contained in:
parent
d5c0a8c2f3
commit
4d52890c32
1 changed files with 2 additions and 1 deletions
|
|
@ -264,7 +264,8 @@ void os_abort(void)
|
|||
for (i=0; i<size; ++i)
|
||||
printf("[bt] %02u: %p\n", i, stack[i]);
|
||||
|
||||
abort();
|
||||
/* use exit() and not abort to avoid the Windows abort dialog */
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue