]> 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>
Fri, 19 Feb 2010 09:10:21 +0000 (10:10 +0100)
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);