From: Michael Tremer Date: Tue, 3 Jun 2025 10:44:33 +0000 (+0200) Subject: ovpnmain.cgi: Log a better message if the RW log file could not be opened X-Git-Tag: v2.29-core197~25^2~84 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ffe75e4767846f72bac49db6a2ba7274905d8d9d;p=ipfire-2.x.git ovpnmain.cgi: Log a better message if the RW log file could not be opened Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index fd3e38e84..adf09029b 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -3089,7 +3089,7 @@ END END - open(FILE, $RW_STATUS) or die 'Unable to open $RW_STATUS.'; + open(FILE, $RW_STATUS) or die "Unable to open $RW_STATUS: $!"; my @current = ; close(FILE);