diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-26 11:58:29 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-26 11:58:29 +0200 |
commit | 4734eb95df69bfb8ee6c878ca3cd694018eee5b7 (patch) | |
tree | 9e54af27d1ffe709b5d5621815bcec1d997e0019 /system-helper | |
parent | 49d84aed94cb22023ab9c4bcb82bd065f9fcfbbe (diff) | |
download | xdg-app-4734eb95df69bfb8ee6c878ca3cd694018eee5b7.tar.gz |
system-helper: Minor cleanup
Diffstat (limited to 'system-helper')
-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) |