From b5e36f1f6ac44e81a5dd6d8be46ca68055e480f5 Mon Sep 17 00:00:00 2001 From: anon Date: Sat, 25 Jan 2025 00:11:59 +0100 Subject: [PATCH] prime deletion --- source/file_utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/file_utils.c b/source/file_utils.c index 24544ba..39bbc82 100644 --- a/source/file_utils.c +++ b/source/file_utils.c @@ -219,10 +219,10 @@ int moist_delete(const char * filename) { return 1; } } else { - //if (unlink(filename) != 0) { - // errorn(E_FILE_DELETE, filename); - // return 1; - //} + if (unlink(filename) != 0) { + errorn(E_FILE_DELETE, filename); + return 1; + } } return 0; }