Don't sync tasks without jobstatuses, it'll be taken care of later

This commit is contained in:
Simon Quigley 2025-01-25 17:27:27 -06:00
parent 2915f73367
commit c0b95cf54f

View File

@ -861,7 +861,7 @@ void PackageConf::sync() {
for (auto [job_status, task] : jobstatus_task_map_) {
if (task) {
auto sync_func = [this, task]() mutable {
task->save(id);
if (task->jobstatus != nullptr) task->save(id);
};
sync_func();
}