Fix wrong usage of ynh_mysql_user_exists

This commit is contained in:
Alexandre Aubin 2019-06-28 16:34:15 +02:00
parent b9197b6269
commit 1810808acd

View file

@ -231,7 +231,7 @@ ynh_mysql_remove_db () {
fi
# Remove mysql user if it exists
if $(ynh_mysql_user_exists --user=$db_user); then
if ynh_mysql_user_exists --user=$db_user; then
ynh_mysql_drop_user $db_user
fi
}