From: Michael Tremer Date: Tue, 3 May 2022 11:51:11 +0000 (+0000) Subject: ovpnmain.cgi: Disable sending any error messages to the browser again X-Git-Tag: v2.27-core170~61^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2050be20e1600377914736531307d3fab863285e;p=ipfire-2.x.git ovpnmain.cgi: Disable sending any error messages to the browser again Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 01cbf68338..8581d63bec 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -38,8 +38,9 @@ require "${General::swroot}/countries.pl"; require "${General::swroot}/location-functions.pl"; # enable only the following on debugging purpose -use warnings; -use CGI::Carp 'fatalsToBrowser'; +#use warnings; +#use CGI::Carp 'fatalsToBrowser'; + #workaround to suppress a warning when a variable is used only once my @dummy = ( ${Header::colourgreen}, ${Header::colourblue} ); undef (@dummy);