diff options
Diffstat (limited to 'libbb/copy_file.c')
-rw-r--r-- | libbb/copy_file.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c index 9333a8d..a4be875 100644 --- a/libbb/copy_file.c +++ b/libbb/copy_file.c @@ -389,5 +389,9 @@ int FAST_FUNC copy_file(const char *source, const char *dest, int flags) bb_perror_msg("can't preserve %s of '%s'", "permissions", dest); } + if (flags & FILEUTILS_VERBOSE) { + printf("'%s' -> '%s'\n", source, dest); + } + return retval; } |