Fix bug #9166 - Starting smbd or nmbd with stdin from /dev/null results in "EOF on...
commit9891d9870060e61f33a835363dea8f5267d6e8ca
authorJeremy Allison <jra@samba.org>
Mon, 10 Jun 2013 20:33:40 +0000 (10 13:33 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 30 Aug 2013 08:15:04 +0000 (30 10:15 +0200)
tree737be932dd3df84e6ea2acdc1fde2c28b4cb1c84
parentd63a5e5c7b38b6eb906e1bbe497fc9c07d5961ce
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>
source3/nmbd/nmbd.c
source3/smbd/server.c
source3/winbindd/winbindd.c
source4/smbd/server.c