scripts: do not allow set-policykit-rules.sh to run as root

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-01-29 14:06:56 -05:00
parent b4ad6692e3
commit 13591d0a5b
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ verify_ready()
} }
CLEAR="$1" CLEAR="$1"
verify_ready
if [ "$CLEAR" = "--clear" ] || [ "$CLEAR" = "-c" ]; then if [ "$CLEAR" = "--clear" ] || [ "$CLEAR" = "-c" ]; then
clear_polkit_rules clear_polkit_rules