Commit 54736377 authored by Florian Müllner's avatar Florian Müllner

cleanup: Fix style nits in last commit

Missing space after catch and wrong double quotes.
parent bb6d9734
Pipeline #93797 passed with stages
in 5 minutes and 52 seconds
......@@ -353,8 +353,8 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
// It only makes sense to check for this permission if PackageKit is available.
try {
this._updatesPermission = Polkit.Permission.new_sync(
"org.freedesktop.packagekit.trigger-offline-update", null, null);
} catch(e) {
'org.freedesktop.packagekit.trigger-offline-update', null, null);
} catch (e) {
log('No permission to trigger offline updates: %s'.format(e.toString()));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment