From 031be05caa024fa8d2c20808053ca5d0963d650c Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 25 Aug 2015 10:57:13 +0200 Subject: No need to use any variables here --- config/openvpn-client-export/openvpn-client-export.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config/openvpn-client-export') diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index 1d8512ae..4dbc7302 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -62,8 +62,7 @@ function openvpn_client_export_install() { } function openvpn_client_export_deinstall() { - $workdir = "{$ovpndir}/client-export"; - exec("/bin/rm -r {$workdir}"); + exec("/bin/rm -r /usr/local/share/openvpn/client-export"); } function openvpn_client_export_prefix($srvid, $usrid = null, $crtid = null) { -- cgit v1.2.3