mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
remove trailing spaces
This commit is contained in:
parent
c8e0303d6d
commit
3c4e261c20
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user