diff --git a/etc/bash_completion.d/ee b/etc/bash_completion.d/ee index 5ab0b077..9d301fa6 100644 --- a/etc/bash_completion.d/ee +++ b/etc/bash_completion.d/ee @@ -45,7 +45,7 @@ EEAUTO() return 0 ;; - show|info|enable) + show|info|enable|db) COMPREPLY=( $( compgen -W '$(command find /etc/nginx/sites-available/ -type f -printf "%P " 2>/dev/null)' -- $CURRENT ) ) return 0 ;; diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index bc7b7d31..a6b61f1c 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -640,7 +640,7 @@ REMOVEDB() echo read -p "Are You Sure To Drop $WPDBNAME Database (y/n): " ANSWER - if [ "$ANSWER" = "y"] + if [ "$ANSWER" = "y" ] then # Remove Database mysql -u $MYSQLUSER -p$MYSQLPASS -e "drop database \`$WPDBNAME\`" \