diff --git a/scripts/set-policykit-rules.sh b/scripts/set-policykit-rules.sh index 01384f7..07b81c3 100755 --- a/scripts/set-policykit-rules.sh +++ b/scripts/set-policykit-rules.sh @@ -112,6 +112,7 @@ verify_ready() } CLEAR="$1" +verify_ready if [ "$CLEAR" = "--clear" ] || [ "$CLEAR" = "-c" ]; then clear_polkit_rules