Skip to content

Commit

Permalink
Merge pull request #6004 from BOINC/dpa_project_dir
Browse files Browse the repository at this point in the history
client: don't delete unrecognized stuff in projects/
  • Loading branch information
AenBleidd authored Jan 10, 2025
2 parents ec7205c + 0b2eb13 commit 2bfad49
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions client/cs_files.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,8 @@ int CLIENT_STATE::make_project_dirs() {
continue;
}
msg_printf(0, MSG_INFO,
"%s is not a project dir - removing", path
"%s is not a project directory", path
);
if (is_dir(path)) {
clean_out_dir(path);
boinc_rmdir(path);
} else {
boinc_delete_file(path);
}
}

return 0;
Expand Down

0 comments on commit 2bfad49

Please sign in to comment.