From b2bff80bc6ff30670977cf763cfe450545621981 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 26 Nov 2021 22:20:10 +0000 Subject: [PATCH] ufw: fixup --- src/steps-last/15-ufw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps-last/15-ufw.sh b/src/steps-last/15-ufw.sh index 40db35f..d6b6e02 100755 --- a/src/steps-last/15-ufw.sh +++ b/src/steps-last/15-ufw.sh @@ -15,6 +15,6 @@ task_end "$?" "Error: Failed to configure firewall"; #shellcheck disable=SC1117 if ask_yesno "Enable UFW? Current firewall rules are listed below.\n$(ufw show added)"; then task_begin "Enabling UFW"; - execute ufw enable; + echo 'y' | ufw enable; task_end "$?" "Error: Failed to enable UFW" fi