summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-07 20:52:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-07 20:52:33 +0000
commit0df08a4108a49cacffd2c7165a42e8fbcc77201a (patch)
tree3701b3fb0d2158a2301e4c1a8847b9360d9350ca /usr/local/www/firewall_shaper.php
parent0013ccf17b4d68d9e9fbf13cde5678cf806d0a45 (diff)
downloadpfsense-0df08a4108a49cacffd2c7165a42e8fbcc77201a.zip
pfsense-0df08a4108a49cacffd2c7165a42e8fbcc77201a.tar.gz
Unlink shaper dirty flags after Apply.
Diffstat (limited to 'usr/local/www/firewall_shaper.php')
-rwxr-xr-xusr/local/www/firewall_shaper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index 8eb10e8..b00f251 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -66,7 +66,9 @@ if ($_POST) {
$savemsg = get_std_save_message($retval);
else
$savemsg = $retval;
- exec("rm " . $d_shaperconfdirty_path);
+
+ if(file_exists($d_shaperconfdirty_path))
+ unlink($d_shaperconfdirty_path);
}
}
OpenPOWER on IntegriCloud