summaryrefslogtreecommitdiff
path: root/system-helper
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-26 11:58:29 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-26 11:58:29 +0200
commit4734eb95df69bfb8ee6c878ca3cd694018eee5b7 (patch)
tree9e54af27d1ffe709b5d5621815bcec1d997e0019 /system-helper
parent49d84aed94cb22023ab9c4bcb82bd065f9fcfbbe (diff)
downloadxdg-app-4734eb95df69bfb8ee6c878ca3cd694018eee5b7.tar.gz
system-helper: Minor cleanup
Diffstat (limited to 'system-helper')
-rw-r--r--system-helper/xdg-app-system-helper.c3
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)