1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:47:35 +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;
}
}
printf("Removing directory: %s\n", path);
int s = rmdir(path);
if (s < 0) {
perror("rmdir");
@ -47,7 +46,6 @@ int remove(bool recursive, const char* path)
perror("unlink");
return 1;
}
printf("Removing file: %s\n", path);
}
return 0;
}