From 3136582c48cd80631dca1503b424f40de7c3ebd4 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Tue, 10 Feb 2004 00:46:52 +0000 Subject: [PATCH] Quiesce error reports in system.d/*.conf files when loading Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19186 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230231 --- bus/config-parser.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bus/config-parser.c b/bus/config-parser.c index f128b91..83dc880 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -2237,8 +2237,13 @@ include_dir (BusConfigParser *parser, { if (!include_file (parser, &full_path, TRUE, error)) { - _dbus_string_free (&full_path); - goto failed; + if (dbus_error_is_set (error)) + { + _dbus_warn("\nEncountered error '%s' while parsing '%s'\n", + error->message, + _dbus_string_get_const_data(&full_path)); + dbus_error_free (error); + } } } -- 1.7.2.3