Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc fix /etc/security stderr redirection.



details:   https://anonhg.NetBSD.org/src/rev/e0feadc1b963
branches:  trunk
changeset: 540814:e0feadc1b963
user:      grant <grant%NetBSD.org@localhost>
date:      Wed Dec 25 02:41:03 2002 +0000

description:
fix /etc/security stderr redirection.

from rad%twig.com@localhost in PR bin/19553.

diffstat:

 etc/daily |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 860adbf02b9d -r e0feadc1b963 etc/daily
--- a/etc/daily Wed Dec 25 00:58:00 2002 +0000
+++ b/etc/daily Wed Dec 25 02:41:03 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: daily,v 1.46 2002/01/27 22:08:50 bouyer Exp $
+#      $NetBSD: daily,v 1.47 2002/12/25 02:41:03 grant Exp $
 #      @(#)daily       8.2 (Berkeley) 1/25/94
 #
 
@@ -226,7 +226,7 @@
 
 if checkyesno run_security; then
        SECOUT="$DAILYDIR/sec"
-       sh /etc/security 2>&1 > "$SECOUT"
+       sh /etc/security > "$SECOUT" 2>&1
        if [ ! -s "$SECOUT" ]; then
                echo "Nothing to report on $date" > "$SECOUT"
        fi



Home | Main Index | Thread Index | Old Index