log unclean shutdowns
authorAndrew Tridgell <tridge@samba.org>
Fri, 8 Aug 2008 11:00:42 +0000 (21:00 +1000)
committerMichael Adam <obnox@samba.org>
Wed, 13 Aug 2008 09:54:12 +0000 (11:54 +0200)
source/smbd/server.c

index d083fec494d1ff2f6a5dd6d54be2a00505ddec92..df6b6ae41dbcc601c6dba4607522b3a3f673d610 100644 (file)
@@ -296,6 +296,7 @@ static void remove_child_pid(pid_t pid, bool unclean_shutdown)
                /* a child terminated uncleanly so tickle all processes to see 
                   if they can grab any of the pending locks
                */
+               DEBUG(0,(__location__ " Unclean shutdown of pid %u\n", pid));
                messaging_send_buf(smbd_messaging_context(), procid_self(), 
                                   MSG_SMB_BRL_VALIDATE, NULL, 0);
                message_send_all(smbd_messaging_context(),