Fix bug #9166 - Starting smbd or nmbd with stdin from /dev/null results in "EOF on...
authorJeremy Allison <jra@samba.org>
Mon, 10 Jun 2013 20:33:40 +0000 (13:33 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 20 Jun 2013 11:41:01 +0000 (13:41 +0200)
commitd4091c5809f174b68714fa50fa501c99617c016e
treebf22be9374d71080945945dc914548a39e57c560
parentfc13489c91e790ff8952aff1e7db1e6189894e30
Fix bug #9166 - Starting smbd or nmbd with stdin from /dev/null results in "EOF on stdin"

Only install the stdin handler if it's a pipe or fifo.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/nmbd/nmbd.c
source3/smbd/server.c
source3/winbindd/winbindd.c
source4/smbd/server.c