Redirect stderr as well as stdout in run_calendar (calendar -a) trunk
authorjhawk <jhawk@NetBSD.org>
Wed, 01 Oct 2003 05:34:50 +0000
branchtrunk
changeset 118206 010c206d0e37
parent 118205 fcf4f6b5ba6c
child 118207 f23bf8f424f1
Redirect stderr as well as stdout in run_calendar (calendar -a)
etc/daily
--- a/etc/daily	Wed Oct 01 04:29:03 2003 +0000
+++ b/etc/daily	Wed Oct 01 05:34:50 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: daily,v 1.49 2003/02/21 22:35:46 jhawk Exp $
+#	$NetBSD: daily,v 1.50 2003/10/01 05:34:50 jhawk Exp $
 #	@(#)daily	8.2 (Berkeley) 1/25/94
 #
 
@@ -123,7 +123,7 @@
 fi
 
 if checkyesno run_calendar; then
-	calendar -a > $TMP
+	calendar -a > $TMP 2>&1
 	if [ -s $TMP ]; then
 		echo ""
 		echo "Running calendar:"