* reresolve-dns: use $EPOCHSECONDS instead of $(date +%s)
@ 2022-02-12 2:20 Alexis gg
0 siblings, 0 replies; only message in thread
From: Alexis gg @ 2022-02-12 2:20 UTC (permalink / raw)
This commit breaks everything on older OSes (esp. Centos 7):
There is no check on the bash's version, the built-in variable
$EPOCHSECONDS is available only from bash 5.
This isn't an improvement, $(date +%s) is stable from much older
versions and will stay stable in future bash versions.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-14 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12 2:20 reresolve-dns: use $EPOCHSECONDS instead of $(date +%s) Alexis gg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).