summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-10-25 06:10:42 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-10-25 06:10:42 +0000
commitc4f82d1e705f02ba28ef5a5334890fc6860ca62d (patch)
treebbad0a6840012a4c9a07bb1dcc82e4b39bc1f823 /etc
parent313b638950e3af4583bfd7abd2a625dff7268fe1 (diff)
downloadFreeBSD-src-c4f82d1e705f02ba28ef5a5334890fc6860ca62d.zip
FreeBSD-src-c4f82d1e705f02ba28ef5a5334890fc6860ca62d.tar.gz
Redirect standard error onto standard out when call /etc/security so
that the errors from /etc/security are in the mail message from /etc/security and not the /etc/daily mail message. Now just to fix the bug in /etc/security
Diffstat (limited to 'etc')
-rw-r--r--etc/daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/daily b/etc/daily
index c974a52..bddf22f 100644
--- a/etc/daily
+++ b/etc/daily
@@ -145,4 +145,4 @@ if [ -f /etc/Distfile ]; then
rdist -f /etc/Distfile
fi
-sh /etc/security | mail -s "daily insecurity output" root
+sh /etc/security 2>&1 | mail -s "daily insecurity output" root
OpenPOWER on IntegriCloud