aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export/openvpn-client-export.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-30 20:55:13 -0400
committerjim-p <jimp@pfsense.org>2012-06-30 20:55:13 -0400
commit07468482d6b0bd17ff161f2247577c1d5c35baf8 (patch)
tree039f33aca3af2a136cd048389230b46f48e926ca /config/openvpn-client-export/openvpn-client-export.inc
parentcd645a1b11544eda4f3db68ba49caaec8bbf973e (diff)
downloadpfsense-packages-07468482d6b0bd17ff161f2247577c1d5c35baf8.tar.gz
pfsense-packages-07468482d6b0bd17ff161f2247577c1d5c35baf8.tar.bz2
pfsense-packages-07468482d6b0bd17ff161f2247577c1d5c35baf8.zip
client export code cleanup. Remove a bunch of redundant/duplicate code.
Diffstat (limited to 'config/openvpn-client-export/openvpn-client-export.inc')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index d3e34a92..886ebb85 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -284,7 +284,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke
// Remove temporary directory
exec("rm -rf {$tempdir}");
- return "{$prefix}-config.zip";
+ return $g['tmp_path'] . "/{$prefix}-config.zip";
} else
return $conf;
}