summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2021-05-14 20:27:11 -0700
committerMark Adler <madler@alumni.caltech.edu>2021-05-14 20:27:11 -0700
commit03f08ef040d472553b37dfd7a68f2bad1701ecf5 (patch)
tree9fc59855f38e21bbaeaf6f8e6416e886e947e001
parentb9a85efb57123675aa7af6888155b786d59fe995 (diff)
downloadpigz-03f08ef040d472553b37dfd7a68f2bad1701ecf5.tar.gz
Show time stamp only for the first gzip member.
-rw-r--r--pigz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pigz.c b/pigz.c
index 32d3081..915a808 100644
--- a/pigz.c
+++ b/pigz.c
@@ -3100,7 +3100,7 @@ local void show_info(int method, unsigned long check, length_t len, int cont) {
strcpy(tag + max - 3, "...");
// convert time stamp to text
- if (g.stamp) {
+ if (g.stamp && !cont) {
strcpy(mod, ctime(&g.stamp));
now = time(NULL);
if (strcmp(mod + 20, ctime(&now) + 20) != 0)