diff options
author | Bill Marquette <billm@pfsense.org> | 2005-09-04 00:20:06 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-09-04 00:20:06 +0000 |
commit | 62f6bc1f184ebf835e944ad05c44ef94fa5ca42a (patch) | |
tree | b8a81f25179a70bb4bc7c7ae4e83d7ccf14eb23c /usr/local | |
parent | c9aa1921f9bc7b95a945b62118b5cf269dc777bf (diff) | |
download | pfsense-62f6bc1f184ebf835e944ad05c44ef94fa5ca42a.zip pfsense-62f6bc1f184ebf835e944ad05c44ef94fa5ca42a.tar.gz |
Only mark pool dirty if something changed
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/load_balancer_pool_edit.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php index f9c5bb0..10a9b77 100755 --- a/usr/local/www/load_balancer_pool_edit.php +++ b/usr/local/www/load_balancer_pool_edit.php @@ -124,10 +124,12 @@ if ($_POST) { } else $a_pool[] = $poolent; - touch($d_poolconfdirty_path); - if ($changecount > 0) + if ($changecount > 0) { + /* Mark pool dirty */ + touch($d_poolconfdirty_path); write_config($changedesc); + } header("Location: load_balancer_pool.php"); exit; |