diff options
-rw-r--r-- | system-helper/xdg-app-system-helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system-helper/xdg-app-system-helper.c b/system-helper/xdg-app-system-helper.c index 81df38c..65e90f7 100644 --- a/system-helper/xdg-app-system-helper.c +++ b/system-helper/xdg-app-system-helper.c @@ -223,8 +223,7 @@ xdg_app_authorize_method_handler (GDBusInterfaceSkeleton *interface, return FALSE; } - if (polkit_authorization_result_get_is_authorized (result)) - authorized = TRUE; + authorized = polkit_authorization_result_get_is_authorized (result); } if (!authorized) |