summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-07 20:52:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-07 20:52:08 +0000
commited1320e7f6ae5a5337c81abbb4aac14256167d4e (patch)
tree577fcb236ad878beb09ddbb2a3b65c252a1aa743
parenta3af2487f44ba17e1d0a7323141c195c0b56cfe3 (diff)
downloadpfsense-ed1320e7f6ae5a5337c81abbb4aac14256167d4e.zip
pfsense-ed1320e7f6ae5a5337c81abbb4aac14256167d4e.tar.gz
Only unlink if file exists
-rwxr-xr-xusr/local/www/interfaces_lan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index 3b194cf..cef9227 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -290,7 +290,7 @@ function enable_change(enable_over) {
if ($_POST['apply'] <> "") {
touch("/tmp/reload_interfaces");
-
+ if(file_exists($d_landirty_path))
unlink($d_landirty_path);
}
OpenPOWER on IntegriCloud