diff options
Diffstat (limited to 'base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java')
-rw-r--r-- | base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java b/base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java index 45807d6e9..1ec3c009a 100644 --- a/base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java +++ b/base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java @@ -173,7 +173,9 @@ public class ProfileSubsystem implements IProfileSubsystem { mConfig.removeSubStore(id); File file1 = new File(configPath); - file1.delete(); + if (!file1.delete()) { + CMS.debug("ProfileSubsystem: deleteProfile: Cannot delete the configuration file : " + configPath); + } mProfileIds.removeElement(id); mProfiles.remove(id); mProfileClassIds.remove(id); |