Yes
This commit is contained in:
parent
6ec5c94969
commit
4876e55da1
@ -64,7 +64,6 @@ int cptree(const char *src, const char *dst) {
|
||||
struct stat stat_path;
|
||||
get_stat(src, &stat_path);
|
||||
|
||||
printf("%s %s\n", src, dst);
|
||||
if (S_ISDIR(stat_path.st_mode) == 0) {
|
||||
if (copy(src, dst)) {
|
||||
fprintf(stderr, "cp: %s: copy() failed (%s)\n", src, strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user