aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-18 18:29:30 +0100
committerMax Kellermann <max@duempel.org>2009-01-18 18:29:30 +0100
commit9c93249412076dcf52732561b0f6150c3e8000d8 (patch)
tree262d80c2920a0119d1413298a9f2e1fef2954c40 /src/main.c
parentbfcaecabbda1ec9473a92f6a413a51db564d9d6e (diff)
downloadmpd-9c93249412076dcf52732561b0f6150c3e8000d8.tar.gz
mpd-9c93249412076dcf52732561b0f6150c3e8000d8.tar.xz
mpd-9c93249412076dcf52732561b0f6150c3e8000d8.zip
daemon: pass "detach" flag to daemonize()
This way, we don't have to pass the full "Options" object to daemonize().
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index b42433ec8..449a9f747 100644
--- a/src/main.c
+++ b/src/main.c
@@ -245,7 +245,7 @@ int main(int argc, char *argv[])
initNormalization();
input_stream_global_init();
- daemonize(&options);
+ daemonize(options.daemon);
setup_log_output(options.stdOutput);