aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c840240a3..580f4bf8b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -186,6 +186,8 @@ int main(int argc, char *argv[])
clock_t start;
GTimer *save_state_timer;
+ daemonize_close_stdin();
+
#ifdef HAVE_LOCALE
/* initialize locale */
setlocale(LC_CTYPE,"");