remove trailing spaces

This commit is contained in:
Patrick Schleizer 2019-10-17 06:05:23 -04:00
parent c8e0303d6d
commit 3c4e261c20
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -25,13 +25,13 @@ create_whitelist() {
if grep -q "${1}" /etc/group; then if grep -q "${1}" /etc/group; then
chmod o-rwx "${whitelist_path}" chmod o-rwx "${whitelist_path}"
chgrp -fR "${1}" "${whitelist_path}" chgrp -fR "${1}" "${whitelist_path}"
## Changing the permissions of /sys recursively ## Changing the permissions of /sys recursively
## causes errors as the permissions of /sys/kernel/debug ## causes errors as the permissions of /sys/kernel/debug
## and /sys/fs/cgroup cannot be changed which makes ## and /sys/fs/cgroup cannot be changed which makes
## systemd say the service has failed even though ## systemd say the service has failed even though
## everything has completed successfully. So, this ## everything has completed successfully. So, this
## returns "0" instead which makes systemd say the ## returns "0" instead which makes systemd say the
## service has succeeded. ## service has succeeded.
return 0 return 0
else else