Skip to content

Commit e7c11f0

Browse files
committed
Fix psql user typo, thanks to @noogen!
1 parent f5e1037 commit e7c11f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ rebuild_pgsql_database() {
619619
query="GRANT ALL PRIVILEGES ON DATABASE $DB TO $DBUSER"
620620
psql -h $HOST -U $USER -c "$query" > /dev/null 2>&1
621621

622-
query="GRANT CONNECT ON DATABASE template1 to $dbuser"
622+
query="GRANT CONNECT ON DATABASE template1 to $DBUSER"
623623
psql -h $HOST -U $USER -c "$query" > /dev/null 2>&1
624624
}
625625

0 commit comments

Comments
 (0)