[PATCHv2] ovpnmain.cgi: Call correct system_output() function.

Message ID 20210622125236.2412-1-stefan.schantl@ipfire.org
State Accepted
Headers
Series [PATCHv2] ovpnmain.cgi: Call correct system_output() function. |

Commit Message

Stefan Schantl 22 Jun 2021, 12:52 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 html/cgi-bin/ovpnmain.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi
index d9e26de2f..e6b272f03 100644
--- a/html/cgi-bin/ovpnmain.cgi
+++ b/html/cgi-bin/ovpnmain.cgi
@@ -5764,7 +5764,7 @@  END
 
     # Adding DH parameter to chart
     if (-f "${General::swroot}/ovpn/ca/dh1024.pem") {
-		my @dhsubject = &System_output("/usr/bin/openssl", "dhparam", "-text", "-in", "${General::swroot}/ovpn/ca/dh1024.pem");
+		my @dhsubject = &General::system_output("/usr/bin/openssl", "dhparam", "-text", "-in", "${General::swroot}/ovpn/ca/dh1024.pem");
 		my $dhsubject;
 
 		foreach my $line (@dhsubject) {