From 09b29ddc9c5107ddcd10834731bf6a75eee7e4cd Mon Sep 17 00:00:00 2001 From: angristan Date: Sun, 23 Sep 2018 14:26:28 +0200 Subject: [PATCH] Fix OS condition --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index cdb9d89..bd6b6dc 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -729,7 +729,7 @@ verb 3" >> /etc/openvpn/server.conf fi # Finally, restart and enable OpenVPN - if [[ "$OS" = 'fedora' ]]; then + if [[ "$OS" == 'fedora' ]]; then # Workaround to fix OpenVPN service on OpenVZ sed -i 's|LimitNPROC|#LimitNPROC|' /usr/lib/systemd/system/openvpn-server@.service # Another workaround to keep using /etc/openvpn/