Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarl-Bjoern authored Oct 21, 2022
1 parent 0feffa8 commit e00bbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ if [ $decision != "special" ]; then
"kernel.unprivileged_userns_clone=0"
"kernel.perf_event_paranoid=3")
for i in ${Array_HARDENING[@]}; do
if [[ $i ~= "#" ]]; then
if [[ $i =~ "#" ]]; then
LEN_SYSCTL=$(cat /etc/sysctl.conf | grep $i)
else
LEN_SYSCTL=$(cat /etc/sysctl.conf | grep -v '#' | grep $i)
Expand Down

0 comments on commit e00bbcd

Please sign in to comment.