Correctly detect the presence of gdate

Fixes some test spew
This commit is contained in:
ridiculousfish 2019-09-21 12:12:08 -07:00
parent d7c695114a
commit 4b181df254

View file

@ -136,7 +136,7 @@ end
# lame timer
for program in {g,}date
if $program --version 1>/dev/null 2>/dev/null
if command -q $program
set milli $program
set unit ms
break