From 4fe1dab9bbba5388a3e287ab1f341da2afb0eb24 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 14 Oct 2004 02:18:06 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4327 --- checkin_notes | 6 ++++++ sched/file_upload_handler.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 7013b5bfa4..db34ea50cf 100755 --- a/checkin_notes +++ b/checkin_notes @@ -18363,3 +18363,9 @@ David 13 Oct 2004 x_opengl.C,h apps/ Makefile.am + +David 13 Oct 2004 + - upload handler: return error msg to client if can't open log file + + sched/ + file_upload_handler.C diff --git a/sched/file_upload_handler.C b/sched/file_upload_handler.C index 8bfd58765a..68e68a621e 100644 --- a/sched/file_upload_handler.C +++ b/sched/file_upload_handler.C @@ -449,6 +449,7 @@ int main() { get_log_path(log_path); if (!freopen(log_path, "a", stderr)) { fprintf(stderr, "Can't open log file\n"); + return_error(ERR_TRANSIENT, "can't open log file"); exit(1); } @@ -456,7 +457,6 @@ int main() { retval = config.parse_file(".."); if (retval) { - return_error(ERR_TRANSIENT, "can't read config file"); exit(1); }