mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
make sure no error will go to stderr if in inetd (fix #303)
This commit is contained in:
1 parent
4277d27063
commit
c8fce0a02f
1 file changed
+1
@@ -197,6 +197,7 @@ int main(int argc, char *argv[], char* envp[])
|
||||
if (cfg.inetd)
|
||||
{
|
||||
cfg.verbose = 0;
|
||||
close(fileno(stderr)); /* Make sure no error will go to client */
|
||||
start_shoveler(0);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user