diff options
Diffstat (limited to 'mjolnir.c')
-rw-r--r-- | mjolnir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -238,9 +238,9 @@ static int rename_del(char *path) int retval = 0; int i; - printf("[+] Deleting %s...\n", path); if (is_dir(path)) { + printf("[+] Deleting %s...\n", path); return rmdir(path); } else { strncpy(new_path, old_path, pathlen+1); // pathlen+1: copy the '\0' too |