aboutsummaryrefslogtreecommitdiffstats
path: root/packages/openvpn-client-export
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openvpn-client-export')
-rwxr-xr-xpackages/openvpn-client-export/openvpn-client-export.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/openvpn-client-export/openvpn-client-export.inc b/packages/openvpn-client-export/openvpn-client-export.inc
index 8608f92a..0a386e31 100755
--- a/packages/openvpn-client-export/openvpn-client-export.inc
+++ b/packages/openvpn-client-export/openvpn-client-export.inc
@@ -37,7 +37,7 @@ function openvpn_client_export_install() {
$ovpndir = "/usr/local/share/openvpn";
$workdir = "{$ovpndir}/client-export";
- if(is_dir("/usr/local/share/openvpn"))
+ if(!is_dir("/usr/local/share/openvpn"))
mkdir("/usr/local/share/openvpn");
exec("/usr/bin/tar zxf {$tarpath} -C {$ovpndir}");