summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-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