From ef542716196b90b71480ee952db64c3df736a12e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 31 Oct 2008 16:46:46 +0100 Subject: [PATCH] mapper: use g_warning() for logging g_error() is fatal by default. Use g_warning() for non-fatal initialization errors. --- src/mapper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mapper.c b/src/mapper.c index 66d3bcc9f..f0a546eb2 100644 --- a/src/mapper.c +++ b/src/mapper.c @@ -45,12 +45,12 @@ void mapper_init(void) ret = stat(music_dir, &st); if (ret < 0) - g_error("failed to stat music directory \"%s\" (config line %i): %s\n", - music_dir_param->value, music_dir_param->line, - strerror(errno)); + g_warning("failed to stat music directory \"%s\" (config line %i): %s\n", + music_dir_param->value, music_dir_param->line, + strerror(errno)); else if (!S_ISDIR(st.st_mode)) - g_error("music directory is not a directory: \"%s\" (config line %i)\n", - music_dir_param->value, music_dir_param->line); + g_warning("music directory is not a directory: \"%s\" (config line %i)\n", + music_dir_param->value, music_dir_param->line); } void mapper_finish(void)