From: Eric Bollengier Date: Wed, 26 Sep 2007 21:59:47 +0000 (+0000) Subject: ebl fix warnings when missing glade file location X-Git-Tag: Release-3.0.0~2440 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=260069003e13b0fdd67dff778e88887e0a3b668a;p=bacula%2Fbacula ebl fix warnings when missing glade file location git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5666 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/brestore/brestore.pl b/gui/brestore/brestore.pl index 6a8da81835..edb27f128b 100755 --- a/gui/brestore/brestore.pl +++ b/gui/brestore/brestore.pl @@ -3300,7 +3300,7 @@ if ($batch_mod) { exit (0); } -$glade_file = $p->{glade_file}; +$glade_file = $p->{glade_file} || $glade_file; foreach my $path ('','.','/usr/share/brestore','/usr/local/share/brestore') { if (-f "$path/$glade_file") {