aboutsummaryrefslogtreecommitdiffstats
path: root/src/fcopy/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcopy/main.c')
-rw-r--r--src/fcopy/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c
index e56d853c8..b0b7f7024 100644
--- a/src/fcopy/main.c
+++ b/src/fcopy/main.c
@@ -286,11 +286,9 @@ static int fs_copydir(const char *infname, const struct stat *st, int ftype, str
286 } 286 }
287 287
288 // extract mode and ownership 288 // extract mode and ownership
289 if (stat(infname, &s) != 0) { 289 if (stat(infname, &s) != 0)
290 if (!arg_quiet)
291 fprintf(stderr, "Warning fcopy: skipping %s, cannot find inode\n", infname);
292 goto out; 290 goto out;
293 } 291
294 uid_t uid = s.st_uid; 292 uid_t uid = s.st_uid;
295 gid_t gid = s.st_gid; 293 gid_t gid = s.st_gid;
296 mode_t mode = s.st_mode; 294 mode_t mode = s.st_mode;