Having exit_server (ie, abnormal exit) call panic action

Richard Sharpe realrichardsharpe at gmail.com
Tue Mar 26 13:08:33 MDT 2013


Hi folks,

While debugging problems I found that it was annoying that calls to
exit_server("blah blah") which calls
exit_server_common(SERVER_EXIT_ABNORMAL,...) does not invoke any panic
action that has been specified. That would have made it easier to
determine why the code was going down that path.

I think as simple fix would be to abstract the panic action handling
into a macro and then use it both in smb_panic and the abnormal exit
arm of exit_server_common.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list