aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 6737030a3..c34c71f5b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,6 +34,7 @@
#include "permission.h"
#include "replayGain.h"
#include "inputPlugin.h"
+#include "inputStream.h"
#include "../config.h"
#include <stdio.h>
@@ -420,9 +421,6 @@ int main(int argc, char * argv[]) {
establishListen(&options);
- /*
- * lose privileges as early as possible
- */
changeToUser(&options);
openLogFiles(&options, &out, &err);
@@ -443,6 +441,7 @@ int main(int argc, char * argv[]) {
initPlayerData();
initVolume();
initInterfaces();
+ initInputStream();
daemonize(&options);