diff --git a/src/modules/site/delete/ee_mod_delete_nginxconf.sh b/src/modules/site/delete/ee_mod_delete_nginxconf.sh index 3c216b39..c09478df 100644 --- a/src/modules/site/delete/ee_mod_delete_nginxconf.sh +++ b/src/modules/site/delete/ee_mod_delete_nginxconf.sh @@ -7,6 +7,8 @@ function ee_mod_delete_nginxconf() # Delete NGINX configuration without any prompt local ee_prompt="y" else + # Fix read prompt + stty echo # Ask user to confirm read -p "Are you sure to remove $EE_DOMAIN NGINX configuration (y/n): " ee_prompt fi diff --git a/src/modules/site/delete/ee_mod_delete_webroot.sh b/src/modules/site/delete/ee_mod_delete_webroot.sh index 718f814c..40ffce09 100644 --- a/src/modules/site/delete/ee_mod_delete_webroot.sh +++ b/src/modules/site/delete/ee_mod_delete_webroot.sh @@ -7,6 +7,8 @@ function ee_mod_delete_webroot() # Delete webroot without any prompt local ee_prompt="y" else + # Fix read prompt + stty echo # Ask user to confirm read -p "Are you sure to remove $EE_DOMAIN webroot (y/n): " ee_prompt fi