diff options
author | Ron Yorston <rmy@pobox.com> | 2014-06-30 21:13:06 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-06-30 21:13:06 +0100 |
commit | 099e8b6438345baae560a629d548af07a8c3125c (patch) | |
tree | 71b5600b22b0019af675e4a991394ce32c8207c5 /libbb/remove_file.c | |
parent | e19594cc6e49e78fa50a654f15cf9a04e77d054a (diff) | |
parent | 184b2669175e562d58894e22f6320cebf3316c25 (diff) | |
download | busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.tar.gz busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.tar.bz2 busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.zip |
Merge branch 'busybox' into merge
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 5b75f7f30..eaca293d9 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) | |||
78 | return -1; | 78 | return -1; |
79 | } | 79 | } |
80 | 80 | ||
81 | if (flags & FILEUTILS_VERBOSE) { | ||
82 | printf("removed directory: '%s'\n", path); | ||
83 | } | ||
84 | |||
81 | return status; | 85 | return status; |
82 | } | 86 | } |
83 | 87 | ||
@@ -98,5 +102,9 @@ int FAST_FUNC remove_file(const char *path, int flags) | |||
98 | return -1; | 102 | return -1; |
99 | } | 103 | } |
100 | 104 | ||
105 | if (flags & FILEUTILS_VERBOSE) { | ||
106 | printf("removed '%s'\n", path); | ||
107 | } | ||
108 | |||
101 | return 0; | 109 | return 0; |
102 | } | 110 | } |