Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polkit: do not shadow dbus errors, avoid panic in case of errors
With the current code, when the dbus call fails with an error we will shadow it with our own error. In the process of doing so, we try to access a map in authResult that is uninitialized, accessing a key will cause a panic. Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
- Loading branch information