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 Bartlett <abartlet@samba.org>
Tue, 28 Feb 2012 11:01:08 +0000 (12:01 +0100)
commit1da318d97da6c7f9e8d5d389fc06619b423fcda0
tree8edab711a51491b0a84914f7424546a4fae7bed5
parent645fcc5375325b700ac58cb25c498f6f7b91421b
smbd: detect EOF on stdin in --foreground mode

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