]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix warnings when missing glade file location
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 26 Sep 2007 21:59:47 +0000 (21:59 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 26 Sep 2007 21:59:47 +0000 (21:59 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5666 91ce42f0-d328-0410-95d8-f526ca767f89

gui/brestore/brestore.pl

index 6a8da818357256bf68496d20268b5312b3db847f..edb27f128b2c55157735c4ad49bfe5be7fa90e2a 100755 (executable)
@@ -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") {