From de6a7095933768eeb524b09b70fadcae85961661 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 30 Sep 2015 09:29:00 +0200 Subject: Fix inverted squid_start_monitor() check --- config/squid3/34/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/squid3/34') diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 40abd166..7c6799ee 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -2019,7 +2019,7 @@ function squid_stop_monitor() { } function squid_start_monitor() { - if (exec("/bin/ps auxw | /usr/bin/grep '[s]qpmon'")) { + if (!exec("/bin/ps auxw | /usr/bin/grep '[s]qpmon'")) { log_error("Starting a proxy monitor script"); mwexec_bg("/usr/local/etc/rc.d/sqp_monitor.sh start"); } -- cgit v1.2.3