0
0
mirror of https://github.com/darkk/redsocks.git synced 2025-08-26 11:45:30 +00:00

Disable daemon() while we have no proper logging support.

This commit is contained in:
darkk 2007-09-21 15:55:48 +00:00 committed by Leonid Evdokimov
parent 477b8f5b7d
commit 93b0787a05

2
base.c
View File

@ -317,10 +317,12 @@ static int base_init()
}
}
#if 0
if (daemon(0, 0) < 0) {
log_errno("daemon()");
goto fail;
}
#endif
return 0;
fail:
if (instance.redirector->fini)