diff options
Diffstat (limited to 'libbb/remove_file.c')
-rw-r--r-- | libbb/remove_file.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbb/remove_file.c b/libbb/remove_file.c index 5b75f7f..eaca293 100644 --- a/libbb/remove_file.c +++ b/libbb/remove_file.c @@ -78,6 +78,10 @@ int FAST_FUNC remove_file(const char *path, int flags) return -1; } + if (flags & FILEUTILS_VERBOSE) { + printf("removed directory: '%s'\n", path); + } + return status; } @@ -98,5 +102,9 @@ int FAST_FUNC remove_file(const char *path, int flags) return -1; } + if (flags & FILEUTILS_VERBOSE) { + printf("removed '%s'\n", path); + } + return 0; } |