Revert changes in daemonize.c from commit 22d6f39e7fb270d0c011bae820d2f8adc8b19061
Revert changes in daemonize.c from commit 22d6f39e7fb270d0c011bae820d2f8adc8b19061

sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets