ufw: fixup

This commit is contained in:
Starbeamrainbowlabs 2021-11-26 22:20:10 +00:00
parent 1b85d4552c
commit b2bff80bc6
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -15,6 +15,6 @@ task_end "$?" "Error: Failed to configure firewall";
#shellcheck disable=SC1117 #shellcheck disable=SC1117
if ask_yesno "Enable UFW? Current firewall rules are listed below.\n$(ufw show added)"; then if ask_yesno "Enable UFW? Current firewall rules are listed below.\n$(ufw show added)"; then
task_begin "Enabling UFW"; task_begin "Enabling UFW";
execute ufw enable; echo 'y' | ufw enable;
task_end "$?" "Error: Failed to enable UFW" task_end "$?" "Error: Failed to enable UFW"
fi fi