diff options
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/dbus-security.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c index 643799cc..0fe55dd2 100644 --- a/hcid/dbus-security.c +++ b/hcid/dbus-security.c @@ -659,6 +659,8 @@ static void auth_agent_req_reply(DBusPendingCall *call, void *data) dbus_error_init(&err); if (dbus_set_error_from_message(&err, reply)) { + if (strcmp(err.name, DBUS_ERROR_NO_REPLY) == 0) + auth_agent_call_cancel(req); error("Authorization agent replied with an error: %s, %s", err.name, err.message); dbus_error_free(&err); |