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:
parent
d3a8fe70a2
commit
11f88a78ad
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue