summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-21 03:58:37 +0000
committerBill Marquette <billm@pfsense.org>2005-03-21 03:58:37 +0000
commit4d7c220f6d860c686632babb187a5122701923cc (patch)
tree99d93f47065e275d8460393266934f8558d3f414
parent93cf5db9903ba408a7ec0aced62bfaaf0d132eed (diff)
downloadpfsense-4d7c220f6d860c686632babb187a5122701923cc.zip
pfsense-4d7c220f6d860c686632babb187a5122701923cc.tar.gz
woohooo...no more rm :)
-rwxr-xr-xusr/local/www/pkg_mgr.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index ef6dfc8..e8e8c21 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -146,4 +146,4 @@ if(!$pkg_config['packages']) {
</body>
</html>
-<?php system("rm {$g['tmp_path']}/pkg*"); ?>
+<?php unlink_if_exists("{$g['tmp_path']}/pkg*"); ?>
OpenPOWER on IntegriCloud