]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix make_catalog_backup.pl fails when catalog db is on other host
authorPhilipp Storz <philipp.storz@dass-it.de>
Fri, 19 Feb 2010 09:07:59 +0000 (10:07 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:33 +0000 (16:49 +0200)
bacula/src/cats/make_catalog_backup.pl.in

index b4de65c4196473047dae7287afb6d4d61c6b1202..f1e00e8ea00ca38358b5336d43eda74568c4256b 100644 (file)
@@ -100,7 +100,7 @@ user=$args{db_user}
 password=$args{db_password}
 ";
     if ($args{db_port}) {
-        print MY "port=%args{db_port}\n";
+        print MY "port=$args{db_port}\n";
     }
     
     close(MY);