commit | 61de0d226d9455ca4ea71b838881d916c8fd2f03 | [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 | 9113e7be9556d002e84c08bb5ed1aa7dd1bcf618 [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