ufw: fixup
This commit is contained in:
parent
1b85d4552c
commit
b2bff80bc6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue