diff options
| author | Philip Paeps <philip@FreeBSD.org> | 2020-10-08 00:28:03 +0000 |
|---|---|---|
| committer | Philip Paeps <philip@FreeBSD.org> | 2020-10-08 00:28:03 +0000 |
| commit | 0e134558d5a3ff7a648ca4f5db450070fc2eb48b (patch) | |
| tree | 10e3391635cde985c7ec14e0608fbf27bfa4d45a /leapseconds.awk | |
| parent | 545922d605327cfdaff9461177686766dfe6a2fe (diff) | |
Diffstat (limited to 'leapseconds.awk')
| -rw-r--r-- | leapseconds.awk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/leapseconds.awk b/leapseconds.awk index 924ade9e2193..1d3c606febfb 100644 --- a/leapseconds.awk +++ b/leapseconds.awk @@ -105,8 +105,10 @@ END { print "" print "# UTC timestamp when this leap second list expires." print "# Any additional leap seconds will come after this." - print "# This Expires line is commented out for now," - print "# so that pre-2020a zic implementations do not reject this file." + if (! EXPIRES_LINE) { + print "# This Expires line is commented out for now," + print "# so that pre-2020a zic implementations do not reject this file." + } printf "%sExpires %.4d\t%s\t%.2d\t%.2d:%.2d:%.2d\n", \ EXPIRES_LINE ? "" : "#", \ ss_year, monthabbr[ss_month], ss_mday, ss_hour, ss_min, ss_sec |
