Merge pull request #743 from YunoHost/fix-wrong-usage-of-mysql-user-exists

Fix wrong usage of ynh_mysql_user_exists
This commit is contained in:
Bram 2019-08-28 23:59:56 +02:00 committed by GitHub
commit 1d293c14a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}