29 |
if (errno != ENOENT) { |
if (errno != ENOENT) { |
30 |
#if ENABLE_FEATURE_VERBOSE_CP_MESSAGE |
#if ENABLE_FEATURE_VERBOSE_CP_MESSAGE |
31 |
if (errno == ENOTDIR) { |
if (errno == ENOTDIR) { |
32 |
bb_error_msg("cannot stat '%s': Path has non-directory component", fn); |
bb_error_msg("can't stat '%s': Path has non-directory component", fn); |
33 |
return -1; |
return -1; |
34 |
} |
} |
35 |
#endif |
#endif |
36 |
bb_perror_msg("cannot stat '%s'", fn); |
bb_perror_msg("can't stat '%s'", fn); |
37 |
return -1; |
return -1; |
38 |
} |
} |
39 |
return 0; |
return 0; |