We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd485b7 commit 54062bfCopy full SHA for 54062bf
1 file changed
func/db.sh
@@ -103,7 +103,7 @@ psql_connect() {
103
host_str=$(grep "HOST='$1'" $HESTIA/conf/pgsql.conf)
104
parse_object_kv_list "$host_str"
105
export PGPASSWORD="$PASSWORD"
106
- if [ -z $PORT ]; then $PORT="5432"; fi
+ if [ -z $PORT ]; then PORT=5432; fi
107
if [ -z $HOST ] || [ -z $USER ] || [ -z $PASSWORD ] || [ -z $TPL ]; then
108
echo "Error: postgresql config parsing failed"
109
log_event "$E_PARSING" "$ARGUMENTS"
0 commit comments