zeek/testing/scripts/has-writer
2019-05-16 02:27:54 -05:00

6 lines
196 B
Bash
Executable file

#! /usr/bin/env bash
#
# Returns true if Zeek has been compiled with support for writer type
# $1. The type name must match the plugin name that "zeek -N" prints.
zeek -N | grep -q $1 >/dev/null