aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1408f0a59..882664d49 100644
--- a/src/main.c
+++ b/src/main.c
@@ -349,7 +349,13 @@ int main(int argc, char *argv[])
client_manager_init();
replay_gain_global_init();
initNormalization();
- input_stream_global_init();
+
+ if (!input_stream_global_init(&error)) {
+ g_warning("%s", error->message);
+ g_error_free(error);
+ return EXIT_FAILURE;
+ }
+
playlist_list_global_init();
daemonize(options.daemon);