aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
Diffstat (limited to 'config/squid3')
-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 acc029c3..c189d716 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -2328,7 +2328,7 @@ function squid_restart_antivirus() {
// check c-icap rcfile
if (is_process_running("c-icap")) {
log_error("Stopping and disabling C-ICAP...");
- mwexec_bg("/usr/local/etc/rc.d/c-icap.sh stop");
+ mwexec('/bin/echo -n "stop" > /var/run/c-icap/c-icap.ctl');
}
unlink_if_exists("/usr/local/etc/rc.d/c-icap");
unlink_if_exists("/usr/local/etc/rc.d/c-icap.sh");