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:
parent
fae0fac957
commit
ae84054e6a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue