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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=803ac35a1f9f4075992eda9470ae1cb11c941793;p=people%2Fms%2Fipfire-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);