Browse Source

Fix read command prompt

old-stable
Mitesh Shah 11 years ago
parent
commit
6afe40f9ca
  1. 2
      src/modules/site/delete/ee_mod_delete_database.sh

2
src/modules/site/delete/ee_mod_delete_database.sh

@ -16,6 +16,8 @@ function ee_mod_delete_database()
# Delete database without any prompt
local ee_prompt="y"
else
# Fix read prompt
stty echo
# Ask user to confirm
read -p "Are you sure to drop $ee_db_name database (y/n): " ee_prompt
fi

Loading…
Cancel
Save