CRAS: cras_file_wait - Run again for access denied error

When the /run/cras/ is created and the owner is still root, it may cause
inotify_add_watch fails with "No permission". We should treat this error
as ENOENT(No such file or directory) and let the while loop run again.

BUG=chromium:1154387
TEST=Rebooted more than 20 times and make sure this issue didn't happen.

Change-Id: I3aa1520c8a3f919d39321dd120035eb227ffe6ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2599855
Commit-Queue: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Tested-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
1 file changed