From 2dcc9de7145ec03a10911f480ee2caa9ecffad4b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 10 Apr 2010 12:18:59 +0200 Subject: [PATCH] Revert "Do all Ingres operations as the user invoking the script just as for all" This reverts commit bea3788b3f0d90c89d8fa912b2d574a8f6de8d38. --- bacula/src/cats/grant_ingres_privileges.in | 3 ++- bacula/src/cats/make_ingres_tables.in | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/cats/grant_ingres_privileges.in b/bacula/src/cats/grant_ingres_privileges.in index 1aab5985d2..d937334542 100755 --- a/bacula/src/cats/grant_ingres_privileges.in +++ b/bacula/src/cats/grant_ingres_privileges.in @@ -2,10 +2,11 @@ # # shell script TO GRANT privileges to the bacula database # +db_user=${db_user:-@db_user@} bindir=@SQL_BINDIR@ db_name=${db_name:-@db_name@} -if sql ${db_name} $* <