summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2012-07-09 15:12:11 -0400
committerAde Lee <alee@redhat.com>2012-07-12 16:42:18 -0400
commit15ac6d2b8e83a73ac1f62ab0da0d6a85717f28fd (patch)
treef3bd2a816e816ad565f13ce90816a7fd7fb32454 /base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java
parent9e4e40b80de0ba47702392b9ad6ccecf67496db7 (diff)
downloadpki-15ac6d2b8e83a73ac1f62ab0da0d6a85717f28fd.tar.gz
pki-15ac6d2b8e83a73ac1f62ab0da0d6a85717f28fd.tar.xz
pki-15ac6d2b8e83a73ac1f62ab0da0d6a85717f28fd.zip
NO_HASHCODE_OVERRIDDEN
Diffstat (limited to 'base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java')
-rw-r--r--base/common/src/com/netscape/cmscore/profile/ProfileSubsystem.java4
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);