fix for create_postgresql_tbl grep so it stops throwing a failure
This commit is contained in:
parent
8e1a52566f
commit
43010e1bd2
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ create_postgresql_tbl(){
|
|||
CREATEDB="createdb $CONNECTION_PARAMS"
|
||||
|
||||
# Create db on remote server
|
||||
if $PSQL -lt | cut -d\| -f 1 | grep -qw | grep 0; then
|
||||
if $PSQL -lt | cut -d\| -f 1 | grep -qw $POSTGRESQL_SERVER_DB_NAME | grep 0; then
|
||||
$CREATEDB $POSTGRESQL_SERVER_DB_NAME
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue