aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
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 124d775a..222fe71b 100755
--- a/packages/openvpn-client-export/openvpn-client-export.inc
+++ b/packages/openvpn-client-export/openvpn-client-export.inc
@@ -50,7 +50,7 @@ function openvpn_client_export_deinstall() {
$ovpndir = "/usr/local/share/openvpn";
$workdir = "{$ovpndir}/client-export";
- unlink("/usr/local/www/{$phpfile}");
+ unlink_if_exists("/usr/local/www/{$phpfile}");
exec("/bin/rm -r {$workdir}");
}