13 lines
348 B
Bash
Executable File
13 lines
348 B
Bash
Executable File
#! /usr/bin/env bash
|
|
#
|
|
# This script is a replacement for the "sendmail" command, and is used for
|
|
# testing that zeekctl executes sendmail and gives it some message text.
|
|
|
|
if [ -n "${ZEEKCTL_INSTALL_PREFIX}" ]; then
|
|
# Write message text from stdin to a temporary file.
|
|
cat - >> ${ZEEKCTL_INSTALL_PREFIX}/sendmail.out
|
|
exit $?
|
|
fi
|
|
|
|
exit 1
|