1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Fix db_user create

This commit is contained in:
nemsia 2018-06-13 00:23:05 +02:00
parent fae0fac957
commit ae84054e6a

View file

@ -162,7 +162,7 @@ ynh_psql_dump_db() {
ynh_psql_create_user() { ynh_psql_create_user() {
user="$1" user="$1"
pwd="$2" 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 # Drop a user