OpenVPN/Server - genkey format changed, leading to warnings. ref 0d80b562e4

This commit is contained in:
Ad Schellevis 2021-07-28 11:19:24 +02:00
parent f331061387
commit 4738eb409e

View File

@ -157,7 +157,7 @@ function openvpn_get_protocols()
function openvpn_create_key()
{
$fp = popen("/usr/local/sbin/openvpn --genkey --secret /dev/stdout 2>/dev/null", "r");
$fp = popen("/usr/local/sbin/openvpn --genkey secret /dev/stdout 2>/dev/null", "r");
if (!$fp) {
return false;
}