assert(bus);
- r = check_inhibitors(bus, "shutdown", "poweroff");
+ r = check_inhibitors(bus, "poweroff", "shutdown");
if (r < 0)
return r;
assert(bus);
- r = check_inhibitors(bus, "shutdown", "reboot");
+ r = check_inhibitors(bus, "reboot", "shutdown");
if (r < 0)
return r;
assert(bus);
- r = check_inhibitors(bus, "sleep", "suspend");
+ r = check_inhibitors(bus, "suspend", "sleep");
if (r < 0)
return r;
assert(bus);
- r = check_inhibitors(bus, "sleep", "hibernate");
+ r = check_inhibitors(bus, "hibernate", "sleep");
if (r < 0)
return r;
assert(bus);
- r = check_inhibitors(bus, "sleep", "hybrid-sleep");
+ r = check_inhibitors(bus, "hybrid-sleep", "sleep");
if (r < 0)
return r;