From 260069003e13b0fdd67dff778e88887e0a3b668a Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 26 Sep 2007 21:59:47 +0000 Subject: [PATCH] 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 --- gui/brestore/brestore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") { -- 2.39.5