]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Eliminate false error when droping postgres table MAC
authorKern Sibbald <kern@sibbald.com>
Mon, 9 Mar 2020 16:31:04 +0000 (17:31 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 9 Mar 2020 16:31:04 +0000 (17:31 +0100)
bacula/src/cats/drop_postgresql_tables.in

index 495d054ea67fb9b18691482f1e9643d7b63951d5..80c3bef151d6af21aa14521722ab6be4cc452cc7 100644 (file)
@@ -8,7 +8,7 @@
 bindir=@POSTGRESQL_BINDIR@
 db_name=@db_name@
 
-$bindir/psql -f - -d ${db_name} $* <<END-OF-DATA
+$bindir/psql -f - -d ${db_name} $* <<END-OF-DATA 1>/dev/null 2>/dev/null
 drop table if exists unsavedfiles;
 drop table if exists basefiles;
 drop table if exists jobmedia;