summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openvpn.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/openvpn.xml.in')
-rw-r--r--op-mode-definitions/openvpn.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/openvpn.xml.in b/op-mode-definitions/openvpn.xml.in
index e9420904a..f8dc0cff0 100644
--- a/op-mode-definitions/openvpn.xml.in
+++ b/op-mode-definitions/openvpn.xml.in
@@ -32,7 +32,7 @@
fi
echo "Generating OpenVPN key to $full_path"
- sudo /usr/sbin/openvpn --genkey --secret "$full_path"
+ sudo /usr/sbin/openvpn --genkey secret "$full_path"
result=$?
if [ $result = 0 ]; then
echo "Your new local OpenVPN key has been generated"