Skip to content

Commit adf54b9

Browse files
committed
fixed missing template name for pgsql
1 parent aa5971e commit adf54b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v_add_db_host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ case $type in
6060
new_str="$new_str MAX_DB='$max_db' U_SYS_USERS=''";
6161
new_str="$new_str U_DB_BASES='0' ACTIVE='yes' DATE='$V_DATE'";;
6262
pgsql) new_str="HOST='$host' USER='$db_user' PASSWORD='$db_password'";
63-
new_str="$new_str PORT='$port' TPL='$tpl'";
63+
new_str="$new_str PORT='$port' TPL='$template'";
6464
new_str="$new_str MAX_USERS='$max_usr' MAX_DB='$max_db'";
6565
new_str="$new_str U_SYS_USERS=''";
6666
new_str="$new_str U_DB_BASES='0' ACTIVE='yes' DATE='$V_DATE'";;

0 commit comments

Comments
 (0)