summaryrefslogtreecommitdiff
path: root/python/vyos/logger.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-07-08 08:48:15 -0500
committerDaniil Baturin <daniil@vyos.io>2021-07-13 06:58:40 -0500
commit597e3b47d6e976854f1221078553d9dc2db032c0 (patch)
tree6f4410a422f7692ad1d4705e4476de5a2cee3208 /python/vyos/logger.py
parente7f89d4d45fedca6d1df0c15a8bce79c82b76aa8 (diff)
downloadvyos-1x-597e3b47d6e976854f1221078553d9dc2db032c0.tar.gz
vyos-1x-597e3b47d6e976854f1221078553d9dc2db032c0.zip
T3663: add pre_hook argument to util.wait_for_inotify
When waiting for processes that don't take long, we need add an inotify watcher _before_ starting that process. The pre-hook arguments allows the user to pass a () -> () anonymous function to be called before adding a watch.
Diffstat (limited to 'python/vyos/logger.py')
0 files changed, 0 insertions, 0 deletions