diff options
Diffstat (limited to 'base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java')
-rw-r--r-- | base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java b/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java index 6f9f43d3a..a8a4008b7 100644 --- a/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java +++ b/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java @@ -75,7 +75,9 @@ public class CMSStartServlet extends HttpServlet { // Remove the original file if and only if // the backup copy was successful. if (f.exists()) { - f1.delete(); + if (!f1.delete()) { + CMS.debug("CMSStartServlet: init: Cannot delete file : " + old_path); + } // Make certain that the new file has // the correct permissions. |