use long options

https://github.com/Kicksecure/security-misc/issues/172
This commit is contained in:
Patrick Schleizer 2024-02-26 08:11:26 -05:00
parent 2d1d1b246f
commit 808e72f24b
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -48,7 +48,7 @@ create_whitelist() {
## Changing the permissions of /sys recursively
## causes errors as the permissions of /sys/kernel/debug
## and /sys/fs/cgroup cannot be changed.
run_cmd_whitelist chgrp -fR "${1}" "${whitelist_path}" || true
run_cmd_whitelist chgrp --quiet --recursive "${1}" "${whitelist_path}" || true
run_cmd_whitelist chmod o-rwx "${whitelist_path}"
else