summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-03-21 11:17:58 +0100
committerJeremy Allison <jra@samba.org>2019-03-21 20:38:32 +0000
commit16331870eed8281cb85d9ea09858f14ae2b29329 (patch)
tree688f453c2b4503e566900a55586f4137223d3a68 /source3/smbd/process.c
parent3eee4394cb6392f779db3ba9df3a1ab28562a7f3 (diff)
downloadsamba-16331870eed8281cb85d9ea09858f14ae2b29329.tar.gz
s3:smbd: Make clear that we got a suicide packet
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c4
1 files changed, 2 insertions, 2 deletions
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);
}