Skip to content

Commit

Permalink
Strict deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Mar 4, 2024
1 parent 01af64d commit a0bbe67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected ESuccess deleteObject (@Nonnull final RepoStorageKey aKey)
final File fTarget = getRelativeFile (aKey);
LOGGER.info ("Deleting from local file system '" + fTarget.getAbsolutePath () + "'");

if (FileOperationManager.INSTANCE.deleteFileIfExisting (fTarget).isFailure ())
if (FileOperationManager.INSTANCE.deleteFile (fTarget).isFailure ())
{
if (LOGGER.isDebugEnabled ())
LOGGER.debug ("Failed to delete local file system object '" + fTarget.getAbsolutePath () + "'");
Expand Down

0 comments on commit a0bbe67

Please sign in to comment.