From d835232506e191f13f561eaf1c41bb8426f80e12 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sun, 27 Mar 2022 06:04:32 -0400 Subject: [PATCH] add mail to option for systemd --- sysd-mail-once | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sysd-mail-once b/sysd-mail-once index 4ccc81c..2f7f4d5 100755 --- a/sysd-mail-once +++ b/sysd-mail-once @@ -19,10 +19,11 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR errors=3 cbase=$HOME/sysd-mail-once-state +to=root case "$1" in -h|--help) cat <