diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-19 12:38:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-19 12:38:36 +0100 |
commit | 3e8c7ac65ff1399310725380e988185c62d37ce7 (patch) | |
tree | dc30e2e03311a08f4f2b0eefe3066b40b79e1c4a /src/modules/module-hal-detect.c | |
parent | 47bc3b76fbdbeee915c50b3371899057b7fbbbcf (diff) |
Ignore HAL NoSuchProperty errors when looking for capabilities field. Closes rhbz #489394
Diffstat (limited to 'src/modules/module-hal-detect.c')
-rw-r--r-- | src/modules/module-hal-detect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/module-hal-detect.c b/src/modules/module-hal-detect.c index fe601100..9b0d71c9 100644 --- a/src/modules/module-hal-detect.c +++ b/src/modules/module-hal-detect.c @@ -452,7 +452,8 @@ static void device_added_cb(LibHalContext *context, const char *udi) { finish: if (dbus_error_is_set(&error)) { - pa_log_error("D-Bus error while parsing HAL data: %s: %s", error.name, error.message); + if (!dbus_error_has_name(&error, "org.freedesktop.Hal.NoSuchProperty")) + pa_log_error("D-Bus error while parsing HAL data: %s: %s", error.name, error.message); dbus_error_free(&error); } } |