]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
login: replace tabs with spaces in example polkit rule
authorMike Yuan <me@yhndnzj.com>
Fri, 18 Apr 2025 17:21:24 +0000 (19:21 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 18 Apr 2025 18:47:54 +0000 (03:47 +0900)
src/login/10-systemd-logind-root-ignore-inhibitors.rules.example

index ff79172cdffc5d7e3d90b8c080fc5af1b94e935c..737a14ab6a112c1892f3c62d2a54cd72d142465f 100644 (file)
@@ -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;
     }
 });