zeek/testing/scripts/has-writer
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

7 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