aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-08 11:48:44 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-08 11:48:44 +0200
commit3f881d1e7c55ea875017764e3c6c8522fb344b84 (patch)
treea62cbd9fc2490426eee7ce9f8683e4b175c7ce41 /config/squid3/34
parentdb92926e6c8f5a7231b6ccd703fa078661eaea5d (diff)
downloadpfsense-packages-3f881d1e7c55ea875017764e3c6c8522fb344b84.tar.gz
pfsense-packages-3f881d1e7c55ea875017764e3c6c8522fb344b84.tar.bz2
pfsense-packages-3f881d1e7c55ea875017764e3c6c8522fb344b84.zip
fix another bogus boot check
Diffstat (limited to 'config/squid3/34')
-rwxr-xr-xconfig/squid3/34/squid.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 481b010b..57527876 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -1839,10 +1839,11 @@ function squid_resync($via_rpc="no") {
// detect boot process
if (is_array($_POST)) {
- if (preg_match("/\w+/",$_POST['__csrf_magic']))
+ if (platform_booting()) {
unset($boot_process);
- else
+ } else {
$boot_process="on";
+ }
}
log_error("[Squid] - Squid_resync function call pr:".is_process_running('squid')." bp:".isset($boot_process)." rpc:".$via_rpc);