From 8454383e2a4bb1fba0050b4d8f66ab7cb79c9898 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 30 Sep 2015 11:01:09 +0200 Subject: Remove yet another duplicate squid_dash_z() invocation, also don't log unless needed --- config/squid3/34/squid.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 519c7c54..e44dbe62 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -608,8 +608,6 @@ function squid_validate_cache($post, &$input_errors) { } } } - - squid_dash_z(); } function squid_validate_nac($post, &$input_errors) { @@ -2025,8 +2023,8 @@ function squid_resync($via_rpc = "no") { function squid_stop_monitor() { /* kill any running proxy alarm scripts */ - log_error("Stopping any running proxy monitors"); if (exec("/bin/ps auxw | /usr/bin/grep '[s]qpmon'")) { + log_error("Stopping any running proxy monitors"); mwexec("/usr/local/etc/rc.d/sqp_monitor.sh stop"); } sleep(1); -- cgit v1.2.3