aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34/squid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/squid3/34/squid.inc')
-rwxr-xr-xconfig/squid3/34/squid.inc2
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");
}