mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s3/smbd: stdin fstat failure is a failure
It seems we forgot we were in main. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
25ad724c01
commit
66cabb8fd1
@ -2110,7 +2110,7 @@ extern void build_options(bool screen);
|
||||
*/
|
||||
struct stat st;
|
||||
if (fstat(0, &st) != 0) {
|
||||
return false;
|
||||
return 1;
|
||||
}
|
||||
if (S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode)) {
|
||||
tevent_add_fd(ev_ctx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user