]> git.corax.cc Git - toolbox/commit
utils/ipc-tap: Check if a hook is present before executing it
authorMatthias Kruk <m@m10k.eu>
Sat, 8 Oct 2022 04:26:53 +0000 (13:26 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 8 Oct 2022 04:26:53 +0000 (13:26 +0900)
commit74e9baf667dd0637363f7a5dc62b9244703ff02f
treec2fe5f1f171ecac4de1f0e1c0a6a5cfe70ec1681
parent35cfcb5f018bda06e0aae2d87a637fda3693bb3c
utils/ipc-tap: Check if a hook is present before executing it

When ipc-tap calls per-topic hooks, it does not check if a hook was
set, causing an error to be emitted when no hook for a topic was set.

This commit modifies ipc-tap so that it checks if a hook is set before
executing it.
utils/ipc-tap.sh