Merge pull request #6004 from BOINC/dpa_project_dir

client: don't delete unrecognized stuff in projects/
This commit is contained in:
Vitalii Koshura 2025-01-10 22:45:06 +01:00 committed by GitHub
commit 2bfad496e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 7 deletions

View File

@ -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;