fix the patch
This commit is contained in:
parent
14952db533
commit
e6a5592beb
@ -31,7 +31,7 @@ index 3fb952b..4884b64 100644
|
||||
goto out;
|
||||
|
||||
- if (!up_polkit_check_auth (priv->polkit, subject, "org.freedesktop.upower.suspend", context))
|
||||
+ if (!up_polkit_check_auth (priv->polkit, subject, "org.freedesktop.upower.suspend", NULL))
|
||||
+ if (!up_polkit_check_auth (priv->polkit, subject, "org.freedesktop.upower.suspend", context))
|
||||
goto out;
|
||||
|
||||
/* already requested */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user