]> Dogcows Code - chaz/tar/blobdiff - src/extract.c
Warn about existing files in keep-old-files mode (complements 8f390db9).
[chaz/tar] / src / extract.c
index d24f98f605e12137c893099b21b724c44c63f661..60ec747f72a9e94d192ab30a31e4da91adf4f1a3 100644 (file)
@@ -643,6 +643,8 @@ maybe_recoverable (char *file_name, bool regular, bool *interdir_made)
       switch (old_files_option)
        {
        case KEEP_OLD_FILES:
+         WARNOPT (WARN_EXISTING_FILE,
+                  (0, 0, _("%s: skipping existing file"), file_name));
          return RECOVER_SKIP;
 
        case KEEP_NEWER_FILES:
This page took 0.021716 seconds and 4 git commands to generate.