Skip to content

Commit 6bc0ec1

Browse files
committed
fix empty programs handling
1 parent fe9e85f commit 6bc0ec1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ To install or update LODA, please follow the [installation instructions](https:/
22

33
## [Unreleased]
44

5+
### Bugfixes
6+
7+
* Fail on recently corrupted programs directory in BOINC
8+
59
## v24.12.28
610

711
### Bugfixes

src/cmd/boinc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ void Boinc::run() {
136136
if (age >= 3) { // magic number
137137
Log::get().warn("Deleting corrupt programs directory");
138138
rmDirRecursive(progs_dir);
139+
} else {
140+
Log::get().error("Exiting due to corrupt programs directory", true);
139141
}
140142
}
141143
}

0 commit comments

Comments
 (0)