]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix username argument to sql for Ingres grants.
authorMarco van Wieringen <mvw@planets.elm.net>
Sat, 3 Apr 2010 18:58:07 +0000 (20:58 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Fri, 9 Apr 2010 11:24:37 +0000 (13:24 +0200)
bacula/src/cats/grant_ingres_privileges.in

index b802bc9254a0c17c17f414ef62da35a7b3f7c773..d937334542ead645a46c59ce4508ce780214745c 100755 (executable)
@@ -6,7 +6,7 @@ db_user=${db_user:-@db_user@}
 bindir=@SQL_BINDIR@
 db_name=${db_name:-@db_name@}
 
-if sql ${db_name} $* <<END-OF-DATA
+if sql -u${db_user} ${db_name} $* <<END-OF-DATA
 
 -- for tables
 GRANT ALL ON TABLE filename TO ${db_user};