Skip to content

Commit

Permalink
release v24.12.28
Browse files Browse the repository at this point in the history
  • Loading branch information
ckrause committed Dec 28, 2024
1 parent 6d65bd9 commit 738920a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ To install or update LODA, please follow the [installation instructions](https:/

## [Unreleased]

## v24.12.28

### Bugfixes

* Fix empty programs directory error in BOINC
Expand Down
6 changes: 3 additions & 3 deletions src/cmd/boinc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ void Boinc::run() {
FolderLock lock(project_dir);
if (Setup::existsProgramsHome() && // need to check again here
!Setup::pullProgramsHome(false)) {
Log::get().error("Failed to update programs repository", false);
const auto age = getFileAgeInDays(progs_dir);
Log::get().info("Programs directory age: " + std::to_string(age) +
" days");
Log::get().error("Failed to update programs repository (age: " +
std::to_string(age) + " days)",
false);
if (age >= 3) { // magic number
Log::get().warn("Deleting corrupt programs directory");
rmDirRecursive(progs_dir);
Expand Down

0 comments on commit 738920a

Please sign in to comment.