From: Eric Bollengier Date: Thu, 11 Jan 2007 13:54:33 +0000 (+0000) Subject: ebl fix BwebConsole X-Git-Tag: Release-2.0.1~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c2da9e5648981914dda54add700fc0181447236;p=bacula%2Fbacula ebl fix BwebConsole git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3965 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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}; }