summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server_exit.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/smbd/server_exit.c b/source3/smbd/server_exit.c
index fa28374ba0..dfa2b1dacb 100644
--- a/source3/smbd/server_exit.c
+++ b/source3/smbd/server_exit.c
@@ -202,14 +202,8 @@ static void exit_server_common(enum server_exit_reason how,
printing_end();
if (how != SERVER_EXIT_NORMAL) {
- DEBUGSEP(0);
- DEBUG(0,("Abnormal server exit: %s\n",
- reason ? reason : "no explanation provided"));
- DEBUGSEP(0);
- log_stack_trace();
-
- dump_core();
+ smb_panic(reason);
/* Notreached. */
exit(1);