From: Eric Bollengier Date: Sat, 17 Nov 2007 18:09:58 +0000 (+0000) Subject: ebl Fix a bug in can_do(); X-Git-Tag: Release-3.0.0~2231 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c5c5b7ba8bd5d9d19c88cda263e5b91312816035;p=bacula%2Fbacula ebl Fix a bug in can_do(); git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5953 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index f1e853224f..24c2b60a88 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -2748,8 +2748,9 @@ sub can_do { my ($self, $action) = @_; if ($self->cant_do($action)) { - $self->error($self->{error}); + $self->error($self->{error}); $self->display_end(); + exit 0; } return 1; }