commit | 2aae75799c76be4993442c82a7c900834e9c4c1c | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Thu May 14 09:20:30 2020 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Tue May 19 13:25:07 2020 -0700 |
tree | c6e5c2c9f63e6d27b5a4402157e1b447b13913e9 | |
parent | dd603e47ea6b8e5e88c29d0e9e8c6db6347595a9 [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