From ed1320e7f6ae5a5337c81abbb4aac14256167d4e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 7 Jan 2006 20:52:08 +0000 Subject: Only unlink if file exists --- usr/local/www/interfaces_lan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/interfaces_lan.php') 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); } -- cgit v1.1