From b73a308f2d17c9d3ffb3a4ea6f460026cc68cc7f Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 20 Oct 2006 06:11:48 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=11324 --- client/cs_statefile.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cs_statefile.C b/client/cs_statefile.C index 9bbe5e909c..8e7b59e4b1 100644 --- a/client/cs_statefile.C +++ b/client/cs_statefile.C @@ -394,7 +394,8 @@ int CLIENT_STATE::write_state_file() { if (ret1) return ret1; if (ret2) return ret2; - // the following fails if no current file, so don't check + // only attempt to rename the current state file if it + // exists. // if (boinc_file_exists(STATE_FILE_NAME)) { if(boinc_file_exists(STATE_FILE_PREV)) {