mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 12:07:45 +01:00
fix: correct issues in linting
This commit is contained in:
@@ -355,7 +355,7 @@ function checkFirewall {
|
|||||||
elif [[ $OS == "CentOS Linux" ]] || [[ $OS == "CentOS Stream" ]] || [[ $OS == "Rocky Linux" ]] || [[ $OS == "AlmaLinux" ]]; then
|
elif [[ $OS == "CentOS Linux" ]] || [[ $OS == "CentOS Stream" ]] || [[ $OS == "Rocky Linux" ]] || [[ $OS == "AlmaLinux" ]]; then
|
||||||
if [ -f /usr/lib/systemd/system/csf.service ]; then
|
if [ -f /usr/lib/systemd/system/csf.service ]; then
|
||||||
fw="csf"
|
fw="csf"
|
||||||
if [[ $(systemctl status $fw >/dev/null 2>&1) ]]; then
|
if systemctl status $fw >/dev/null 2>&1; then
|
||||||
|
|
||||||
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
|
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
|
||||||
((PASS++))
|
((PASS++))
|
||||||
|
|||||||
Reference in New Issue
Block a user