From: Andreas Schneider Date: Thu, 21 Mar 2019 10:17:58 +0000 (+0100) Subject: s3:smbd: Make clear that we got a suicide packet X-Git-Tag: tdb-1.4.1~654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16331870eed8281cb85d9ea09858f14ae2b29329;p=thirdparty%2Fsamba.git s3:smbd: Make clear that we got a suicide packet Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 90cab33a761..d6545101f01 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -1984,8 +1984,8 @@ static void process_smb(struct smbXsrv_connection *xconn, (IVAL(inbuf, 4) == SMB_SUICIDE_PACKET) && lp_parm_bool(-1, "smbd", "suicide mode", false)) { uint8_t exitcode = CVAL(inbuf, 8); - DEBUG(1, ("Exiting immediately with code %d\n", - (int)exitcode)); + DBG_WARNING("SUICIDE: Exiting immediately with code %d\n", + (int)exitcode); exit(exitcode); }