diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-30 09:29:00 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-30 09:29:00 +0200 |
commit | de6a7095933768eeb524b09b70fadcae85961661 (patch) | |
tree | 3d5047f839e308aab65a5afd392aa5e8ddbe10d9 /config/squid3 | |
parent | 94a0c4dc98133ae78a58928c311cb1848f46869b (diff) | |
download | pfsense-packages-de6a7095933768eeb524b09b70fadcae85961661.tar.gz pfsense-packages-de6a7095933768eeb524b09b70fadcae85961661.tar.bz2 pfsense-packages-de6a7095933768eeb524b09b70fadcae85961661.zip |
Fix inverted squid_start_monitor() check
Diffstat (limited to 'config/squid3')
-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"); } |