diff --git a/scripts/_common.sh b/scripts/_common.sh index 7d4f823..89ace8a 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -162,7 +162,7 @@ ynh_psql_dump_db() { ynh_psql_create_user() { user="$1" pwd="$2" - sudo --login --user=postgres psql -c"CREATE USER $user WITH PASSWORD '$pwd'" postgres + sudo --login --user=postgres psql -c"CREATE USER $user WITH PASSWORD '$pwd';" postgres } # Drop a user