]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix #1648 about make_catalog_backup.pl with multiple catalog
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 5 Oct 2010 08:10:32 +0000 (10:10 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 5 Oct 2010 08:11:29 +0000 (10:11 +0200)
bacula/src/cats/make_catalog_backup.pl.in

index fc0487e7f9745d3768386e65f8da0b98c4d13529..9bb6b7c98f2451d9f55a6b39a928b901b83db3b4 100644 (file)
@@ -135,7 +135,7 @@ sub dump_catalog
     }
 }
 
-open(FP, "$dir_conf|") or die "Can't get catalog information $@";
+open(FP, "$dir_conf -C '$cat'|") or die "Can't get catalog information $@";
 # catalog=MyCatalog
 # db_type=SQLite
 # db_name=regress