aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-25 00:47:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-25 00:47:17 +0000
commitd08a613b2ab5613674279475eab036b8d5f12a81 (patch)
tree2662ec4b24c7de743368fc7d9436d8aea381abb4 /packages
parent4a18e1c62f4a3e46dd3d56e6de63f61548807b34 (diff)
downloadpfsense-packages-d08a613b2ab5613674279475eab036b8d5f12a81.tar.gz
pfsense-packages-d08a613b2ab5613674279475eab036b8d5f12a81.tar.bz2
pfsense-packages-d08a613b2ab5613674279475eab036b8d5f12a81.zip
Correct check
Diffstat (limited to 'packages')
-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}");