Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: fix race condition in WaitForFile
when using inotify, check for the file existence once the watcher is configured. It solves a race condition where the file is created the watcher configuration and we'd not have any inotify event. Closes: containers#2942 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
- Loading branch information