Remove adjustments and custom terminate() for Zeekygen invocation.

This commit is contained in:
Christian Kreibich 2025-06-05 17:28:38 -07:00
parent c1cec7aec7
commit fc29aae183

View file

@ -40,17 +40,3 @@
@endif
@load ./example.zeek
event zeek_init() &priority=1000
{
# Disable events in modules that use zeek_init() to do stuff and may
# fail when run under zeekygen. For the purpose of zeekygen, we could
# probably disable all modules, too.
disable_module_events("Control");
disable_module_events("Cluster::Backend::ZeroMQ");
disable_module_events("Cluster::Experimental");
disable_module_events("Management::Agent::Runtime");
disable_module_events("Management::Controller::Runtime");
disable_module_events("Management::Node");
terminate();
}