summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/interfaces_assign.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 9fbd25e..0693155 100644
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -366,7 +366,7 @@ if ($_GET['act'] == "add" && (count($config['interfaces']) < count($portlist)))
}
/* XXX: Do not remove this. */
- mwexec("/bin/rm -f /tmp/config.cache");
+ unlink_if_exists("{$g['tmp_path']}/config.cache");
write_config();
OpenPOWER on IntegriCloud