diff options
-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}"); |