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:
parent
b4ad6692e3
commit
13591d0a5b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue