aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-22 15:19:12 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-22 15:19:12 +0100
commit45fab22634bd749dc35291622fb96d3940530258 (patch)
treec991ca5f8d3ad8748fd9dd6c77301d0266bf71d5 /util-src
parentae47adf1249e6e1d8acab3c65b2482841cc20cfc (diff)
parent8970cc35b22bf8d92b59b37c574126054c7d5878 (diff)
downloadprosody-45fab22634bd749dc35291622fb96d3940530258.tar.gz
prosody-45fab22634bd749dc35291622fb96d3940530258.zip
Merge with 0.4
Diffstat (limited to 'util-src')
-rw-r--r--util-src/pposix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c
index 7d428c85..d26639b2 100644
--- a/util-src/pposix.c
+++ b/util-src/pposix.c
@@ -72,10 +72,10 @@ static int lc_daemonize(lua_State *L)
}
/* Close stdin, stdout, stderr */
-/* close(0);
+ close(0);
close(1);
close(2);
-*/
+
/* Final fork, use it wisely */
if(fork())
exit(0);