mirror of https://github.com/BOINC/boinc.git
Merge pull request #6004 from BOINC/dpa_project_dir
client: don't delete unrecognized stuff in projects/
This commit is contained in:
commit
2bfad496e7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue