Hello,
Currently brestore generates some warnings if the location of the glade
file is not configured:
Use of uninitialized value in concatenation (.) or string at
/opt/local/bin/brestore line 3306.
Use of uninitialized value in concatenation (.) or string at
/opt/local/bin/brestore line 3306.
Use of uninitialized value in concatenation (.) or string at
/opt/local/bin/brestore line 3306.
Use of uninitialized value in concatenation (.) or string at
/opt/local/bin/brestore line 3306.
Use of uninitialized value in -f at /opt/local/bin/brestore line 3321.
Use of uninitialized value in concatenation (.) or string at
/opt/local/bin/brestore line 3325.
The attached patch fixes the issue.
Best Regards,
--
Tuomas Jormola <[EMAIL PROTECTED]>
--- bacula-gui-2.2.4.orig/brestore/brestore.pl 2007-08-20 19:42:55.000000000 +0300
+++ bacula-gui-2.2.4/brestore/brestore.pl 2007-09-27 00:19:07.931610498 +0300
@@ -3300,7 +3300,7 @@
exit (0);
}
-$glade_file = $p->{glade_file};
+$glade_file = $p->{glade_file} || '';
foreach my $path ('','.','/usr/share/brestore','/usr/local/share/brestore') {
if (-f "$path/$glade_file") {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel