Skip to content

Commit cc2eba3

Browse files
authored
Merge pull request #33 from DimStar77/polkit
linux: polkit rules use // for comments, not #
2 parents 5ca703a + abb6a44 commit cc2eba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ResultActive=yes
2222
EOF
2323
elif [ -d "$WORK/etc/polkit-1/rules.d/" ]; then
2424
cat >"$WORK/etc/polkit-1/rules.d/49-nopasswd_shells.rules" <<EOF
25-
#rules for all distros
25+
// rules for all distros
2626
polkit.addRule(function(action, subject) {
2727
if (subject.isInGroup("shellsuser")) {
2828
return polkit.Result.YES;

0 commit comments

Comments
 (0)