diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-09-25 00:47:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-09-25 00:47:17 +0000 |
commit | d08a613b2ab5613674279475eab036b8d5f12a81 (patch) | |
tree | 2662ec4b24c7de743368fc7d9436d8aea381abb4 /packages/openvpn-client-export | |
parent | 4a18e1c62f4a3e46dd3d56e6de63f61548807b34 (diff) | |
download | pfsense-packages-d08a613b2ab5613674279475eab036b8d5f12a81.tar.gz pfsense-packages-d08a613b2ab5613674279475eab036b8d5f12a81.tar.bz2 pfsense-packages-d08a613b2ab5613674279475eab036b8d5f12a81.zip |
Correct check
Diffstat (limited to 'packages/openvpn-client-export')
-rwxr-xr-x | packages/openvpn-client-export/openvpn-client-export.inc | 2 |
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}"); |