mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Correctly detect the presence of gdate
Fixes some test spew
This commit is contained in:
parent
d7c695114a
commit
4b181df254
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue