mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Small fix
This commit is contained in:
parent
f2a4be2992
commit
a7af86832e
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ ynh_psql_remove_db() {
|
|||
ynh_handle_getopts_args "$@"
|
||||
|
||||
local psql_root_password=$(sudo cat $PSQL_ROOT_PWD_FILE)
|
||||
if ynh_psql_database_exists "$db_name"; then # Check if the database exists
|
||||
if $(ynh_psql_database_exists "$db_name"); then # Check if the database exists
|
||||
echo "Removing database $db_name" >&2
|
||||
ynh_psql_drop_db $db_name # Remove the database
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue