mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4327
This commit is contained in:
parent
5cb8ae36b4
commit
4fe1dab9bb
|
@ -18363,3 +18363,9 @@ David 13 Oct 2004
|
||||||
x_opengl.C,h
|
x_opengl.C,h
|
||||||
apps/
|
apps/
|
||||||
Makefile.am
|
Makefile.am
|
||||||
|
|
||||||
|
David 13 Oct 2004
|
||||||
|
- upload handler: return error msg to client if can't open log file
|
||||||
|
|
||||||
|
sched/
|
||||||
|
file_upload_handler.C
|
||||||
|
|
|
@ -449,6 +449,7 @@ int main() {
|
||||||
get_log_path(log_path);
|
get_log_path(log_path);
|
||||||
if (!freopen(log_path, "a", stderr)) {
|
if (!freopen(log_path, "a", stderr)) {
|
||||||
fprintf(stderr, "Can't open log file\n");
|
fprintf(stderr, "Can't open log file\n");
|
||||||
|
return_error(ERR_TRANSIENT, "can't open log file");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -456,7 +457,6 @@ int main() {
|
||||||
|
|
||||||
retval = config.parse_file("..");
|
retval = config.parse_file("..");
|
||||||
if (retval) {
|
if (retval) {
|
||||||
return_error(ERR_TRANSIENT, "can't read config file");
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue