login: replace tabs with spaces in example polkit rule

This commit is contained in:
Mike Yuan
2025-04-19 03:47:54 +09:00
committed by Yu Watanabe
parent 3bb398c299
commit f630d17c9b
@@ -13,8 +13,8 @@ polkit.addRule(function(action, subject) {
action.id == "org.freedesktop.login1.halt-ignore-inhibit" ||
action.id == "org.freedesktop.login1.suspend-ignore-inhibit" ||
action.id == "org.freedesktop.login1.hibernate-ignore-inhibit") &&
subject.user == "root") {
subject.user == "root") {
return polkit.Result.YES;
return polkit.Result.YES;
}
});