aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 77591a35f..7dcc5240a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -553,6 +553,7 @@ int main(int argc, char *argv[])
initAudioConfig();
initAudioDriver();
initPlaylist();
+ openDB(&options, argv[0]);
daemonize(&options);
@@ -565,8 +566,6 @@ int main(int argc, char *argv[])
initPermissions();
- openDB(&options, argv[0]);
-
initCommands();
initVolume();
initInterfaces();