You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
420 B

--- a/src/crelay.c
+++ b/src/crelay.c
@@ -678,10 +678,12 @@ int main(int argc, char *argv[])
listen(sock, 5);
syslog(LOG_DAEMON | LOG_NOTICE, "HTTP server listening on %s:%d\n", inet_ntoa(iface), port);
+#if 0
if (daemon(0, 0) == -1) {
syslog(LOG_DAEMON | LOG_ERR, "Failed to daemonize: %s", strerror(errno));
exit(EXIT_FAILURE);
}
+#endif
while (1)
{