Skip to content

Commit

Permalink
scripts: do not allow set-policykit-rules.sh to run as root
Browse files Browse the repository at this point in the history
Signed-off-by:  Eric Callahan <[email protected]>
  • Loading branch information
Arksine committed Jan 29, 2022
1 parent b4ad669 commit 13591d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/set-policykit-rules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ verify_ready()
}

CLEAR="$1"
verify_ready

if [ "$CLEAR" = "--clear" ] || [ "$CLEAR" = "-c" ]; then
clear_polkit_rules
Expand Down

0 comments on commit 13591d0

Please sign in to comment.