mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
smbd3 is unhappy if stderr is not open
This commit is contained in:
parent
9542b2fe60
commit
1a228b442e
@ -52,7 +52,8 @@ static void samba3_smb_accept(struct stream_connection *conn)
|
||||
close(1);
|
||||
dup2(fd, 0);
|
||||
dup2(fd, 1);
|
||||
for (i=2;i<256;i++) {
|
||||
dup2(fd, 2);
|
||||
for (i=3;i<256;i++) {
|
||||
close(i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user