smbd: detect EOF on stdin in --foreground mode
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 Nov 2011 03:08:28 +0000 (14:08 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 9 Feb 2012 04:41:49 +0000 (15:41 +1100)
commit2dac14ed9783e3faccb8fcfc3f7eaa51c09c8b3c
treeea3a7c8981711835beac330a225feeddded1d89c
parent5afcf142ec4a8631ca6c3ec87ecc3fa20907996d
smbd: detect EOF on stdin in --foreground mode

if EOF is detected on stdin then exit
source3/smbd/server.c