aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-11 16:59:41 -0300
committerRenato Botelho <renato@netgate.com>2015-09-11 16:59:41 -0300
commit0896906957daf716697508ee8a2e685e6e276e91 (patch)
treea1dafd60d2b0845b2a839d3d5eb483f18b3ad5fe /config/sarg
parent94552b1db607bd973becb7eb8e0d3e32d9fd4b90 (diff)
parentfb2aaef04afcac0361317a519244013bb2b6b1be (diff)
downloadpfsense-packages-0896906957daf716697508ee8a2e685e6e276e91.tar.gz
pfsense-packages-0896906957daf716697508ee8a2e685e6e276e91.tar.bz2
pfsense-packages-0896906957daf716697508ee8a2e685e6e276e91.zip
Merge pull request #1060 from doktornotor/patch-7
Diffstat (limited to 'config/sarg')
-rw-r--r--config/sarg/sarg.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index 446b5f82..85410560 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -192,7 +192,11 @@ function sync_package_sarg() {
global $config, $g, $sarg_proxy;
// detect boot process
- if (platform_booting()) {
+ if (function_exists("platform_booting")) {
+ if (platform_booting()) {
+ return;
+ }
+ } elseif ($g['booting']) {
return;
}