From c5c5b7ba8bd5d9d19c88cda263e5b91312816035 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 17 Nov 2007 18:09:58 +0000 Subject: [PATCH] ebl Fix a bug in can_do(); git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5953 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lib/Bweb.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5