fix AC not consistently appearing at start of CA

This commit is contained in:
Squidly271 2022-06-12 13:51:36 -04:00
parent c28dfddeac
commit b95ecbc15d
4 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -2,7 +2,7 @@
4e55f7483b661af21a25b677179baffe ./CA_notices.page
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
e718d7825dbdc96a17a915079222b098 ./default.cfg
f095365c9c9f069566a77fd30148436e ./include/exec.php
e2a1a9120d3fe4673905ef6395c2bca0 ./include/exec.php
e564b860fa0d5022df83c103922665d7 ./include/helpers.php
fc87642746ba4f324537bc381b78e982 ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js

View File

@ -2245,6 +2245,7 @@ function enableActionCentre() {
if ( is_file($caPaths['updateRunning']) && file_exists("/proc/".@file_get_contents($caPaths['updateRunning'])) ) {
debug("Action Centre sleeping -> update running");
sleep(5);
clearstatcache();
}
else break;
}