From 58fa6bae8c588e09b0acf2e6ff463b8388df7b04 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 12 Jul 2014 11:04:19 +0200 Subject: [PATCH] Allow options create_postgresql_database from patch in bug #2075 by roos --- bacula/src/cats/create_postgresql_database.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/cats/create_postgresql_database.in b/bacula/src/cats/create_postgresql_database.in index 70cf106ccb..c9e7f0cd7f 100644 --- a/bacula/src/cats/create_postgresql_database.in +++ b/bacula/src/cats/create_postgresql_database.in @@ -67,7 +67,7 @@ else echo "!!!! Creation of ${db_name} database failed. !!!!" echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" fi -if psql -l ${dbname} | grep " ${db_name}.*SQL_ASCII" >/dev/null; then +if psql -l ${dbname} $* | grep " ${db_name}.*SQL_ASCII" >/dev/null; then echo "Database encoding OK" else echo " " -- 2.39.5