浏览代码

Correctly parse empty uname/gname

Sergey Poznyakoff 20 年之前
父节点
当前提交
9fc348aae9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/create.c

+ 1 - 1
src/create.c

@@ -1397,7 +1397,7 @@ dump_file0 (struct tar_stat_info *st, char *p,
       && OLDER_STAT_TIME (st->stat, m)
       && (!after_date_option || OLDER_STAT_TIME (st->stat, c)))
     {
-      if (!incremental_option)
+      if (!incremental_option && verbose_option)
 	WARN ((0, 0, _("%s: file is unchanged; not dumped"),
 	       quotearg_colon (p)));
       return;