From 3c2da9e5648981914dda54add700fc0181447236 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 11 Jan 2007 13:54:33 +0000 Subject: [PATCH] ebl fix BwebConsole git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3965 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/brestore/brestore.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/brestore/brestore.pl b/gui/brestore/brestore.pl index d2710bb2cf..a489de1312 100755 --- a/gui/brestore/brestore.pl +++ b/gui/brestore/brestore.pl @@ -262,11 +262,12 @@ sub run } } - if ($self->{run}) { - unlink($arg{bootstrap}); - new DlgWarn("Can't connect to bweb : " . $res->status_line); + if (!$self->{run}) { + new DlgWarn("Can't connect to bweb : " . $res->status_line); } + unlink($arg{bootstrap}); + return $self->{run}; } -- 2.39.5