aboutsummaryrefslogtreecommitdiff
path: root/rcynic
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-09-09 16:24:41 +0000
committerRob Austein <sra@hactrn.net>2013-09-09 16:24:41 +0000
commit7c5648112afcdbce9c06e1d9534db8fcb28e76ca (patch)
tree5ab009039a06c1e62626b32269cd6e43cb910832 /rcynic
parent5115e267142039179fbc1da1da04f78c24a6218d (diff)
Send mail from rcynic-cron to root, not rcynic. Closes #610.
svn path=/trunk/; revision=5488
Diffstat (limited to 'rcynic')
-rw-r--r--rcynic/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcynic/Makefile.in b/rcynic/Makefile.in
index e3b45036..f362e3e5 100644
--- a/rcynic/Makefile.in
+++ b/rcynic/Makefile.in
@@ -229,7 +229,7 @@ install-crontab: .FORCE
else \
echo "Setting up ${RCYNIC_CRON_USER}'s crontab to run rcynic-cron script"; \
${AWK} -v t=`hexdump -n 2 -e '"%u\n"' /dev/random` '\
- BEGIN {printf "%u * * * *\texec ${bindir}/rcynic-cron\n", t % 60}' | \
+ BEGIN {printf "MAILTO=root\n%u * * * *\texec ${bindir}/rcynic-cron\n", t % 60}' | \
/usr/bin/crontab -u ${RCYNIC_CRON_USER} -; \
fi