From 28e87db2b44de048e98cf1eb9c9ce82820c660f7 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 13 Jun 2018 00:29:34 +0200 Subject: [PATCH] Fix Testing 2.4 (#91) * Fix db_user create --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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