From 775dd7ab660486ab2d8fafa06622ef7fd9af1078 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 2 Nov 2011 14:25:13 -0400 Subject: Correct path to binary --- config/openvpn-client-export/openvpn-client-export.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index 18ca1859..0223a7ef 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -530,8 +530,8 @@ EOF; } // Zip Viscosity file - if(file_exists()) - + if(file_exists("/usr/pbi/zip-{$uname_p}/bin/zip")) + exec("cd {$tempdir}/.. && /usr/pbi/zip-{$uname_p}/bin/zip -r {$zipfile} Viscosity.visc"); else exec("cd {$tempdir}/.. && /usr/local/bin/zip -r {$zipfile} Viscosity.visc"); -- cgit v1.2.3