commit | ffa52e9c6f8b37e8a9430c66ef117a07c43c797e | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Thu May 14 09:20:30 2020 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Fri May 15 01:18:24 2020 +0000 |
tree | a9625cbf25f66cfb6331982535be4d5bd2369b14 | |
parent | fa8bf5be4e55e0d701222b28c5fa52b07149131d [diff] |
init: support wait timeout with more precision A one second timeout is so coarse and can affect boot time when the possibility that the file does not exist. Switch to accepting a floating point number for seconds for the wait for file command. Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 151950334 Test: wait_for_file sleep 0.05 reports an appropriate delay Change-Id: I8d8ed386519ab54270b05ce91663d0add30f12e7