1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:17:34 +00:00

Userland: Remove unnecessary output from "rm"

This commit is contained in:
Andreas Kling 2019-08-24 13:34:52 +02:00
parent d3a8fe70a2
commit 11f88a78ad

View file

@ -35,7 +35,6 @@ int remove(bool recursive, const char* path)
return s; return s;
} }
} }
printf("Removing directory: %s\n", path);
int s = rmdir(path); int s = rmdir(path);
if (s < 0) { if (s < 0) {
perror("rmdir"); perror("rmdir");
@ -47,7 +46,6 @@ int remove(bool recursive, const char* path)
perror("unlink"); perror("unlink");
return 1; return 1;
} }
printf("Removing file: %s\n", path);
} }
return 0; return 0;
} }