fatal: cause a backtrace.

Much nicer for debugging.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-10-29 21:48:13 +10:30
parent 45b92dc2b0
commit 21305c0d28

View File

@ -521,5 +521,5 @@ void fatal(const char *fmt, ...)
va_end(ap);
log_crash(0);
}
exit(1);
abort();
}