]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl put error message in STDERR
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 24 May 2007 19:36:55 +0000 (19:36 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 24 May 2007 19:36:55 +0000 (19:36 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4895 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/lib/Bconsole.pm

index 8fbe1de763948140f33fb7abc89041abe19d594e..5fc5618a499c88f467447f9b55d7e60d84d546b0 100644 (file)
@@ -126,9 +126,7 @@ sub error
 {
     my ($self, $error) = @_;
     $self->{error} = $!;
-    if ($self->{debug}) {
-       print "E: bconsole (", $self->{pref}->{bconsole}, ") $!\n";
-    }
+    print STDERR "E: bconsole (", $self->{pref}->{bconsole}, ") $!\n";
     return 0;
 }