Bluh
This commit is contained in:
parent
b917633313
commit
c8d3fe0c97
@ -88,7 +88,7 @@ int cptree(const char *src, const char *dst) {
|
|||||||
|
|
||||||
if (S_ISDIR(stat_path.st_mode) == 0) {
|
if (S_ISDIR(stat_path.st_mode) == 0) {
|
||||||
if (copy(src, dst)) {
|
if (copy(src, dst)) {
|
||||||
fprintf(stderr, "cp: %s: is not directory\n", src);
|
fprintf(stderr, "cp: %s: copy() failed (%s)\n", src, strerror(errno));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user