diff options
-rwxr-xr-x | config/squid3/34/squid.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |