This commit is contained in:
Your Name 2023-10-16 20:39:50 +03:00
parent b917633313
commit c8d3fe0c97

View File

@ -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;
} }