&m->polkit_registry,
error);
if (r < 0) {
- /* If we get -EALREADY, it means a polkit decision was made, but not for
+ /* If we get -EBUSY, it means a polkit decision was made, but not for
* this action in particular. Assuming we are blocked on inhibitors,
* ignore that error and allow the decision to be revealed below. */
- if (blocked && r == -EALREADY)
+ if (blocked && r == -EBUSY)
error_or_denial = true;
else
return r;
&m->polkit_registry,
error);
if (r < 0) {
- /* If we get -EALREADY, it means a polkit decision was made, but not for
+ /* If we get -EBUSY, it means a polkit decision was made, but not for
* this action in particular. Assuming there are more actions requested,
* ignore that error and allow the decision to be revealed later. */
- if ((~v & w) && r == -EALREADY)
+ if ((~v & w) && r == -EBUSY)
error_or_denial = true;
else
return r;