Stop fail2ban if it is already installed

This commit is contained in:
somebodywashere 2023-06-19 14:03:42 +00:00
parent 928d88f131
commit 0eb7e706ed

View file

@ -717,6 +717,7 @@ install_iplimit() {
esac
echo -e "${green}Fail2ban installed successfully!${plain}\n"
else
sudo systemctl stop fail2ban
echo -e "${yellow}Fail2ban is already installed.${plain}\n"
fi