Source-Changes-HG archive

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

[src/trunk]: src/etc Fix an obvious botch in the previous rev, found by martin@



details:   https://anonhg.NetBSD.org/src/rev/2912dc5a2bde
branches:  trunk
changeset: 993840:2912dc5a2bde
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Oct 04 11:50:34 2018 +0000

description:
Fix an obvious botch in the previous rev, found by martin@

diffstat:

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

diffs (20 lines):

diff -r b2ec326126a2 -r 2912dc5a2bde etc/security
--- a/etc/security      Thu Oct 04 09:09:29 2018 +0000
+++ b/etc/security      Thu Oct 04 11:50:34 2018 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.123 2018/09/23 23:48:33 kre Exp $
+#      $NetBSD: security,v 1.124 2018/10/04 11:50:34 kre Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -399,7 +399,7 @@
                        < $TMP1
                fi
        done > $OUTPUT
-       if [ $umaskset = no ] -o [ -s $OUTPUT ] ; then
+       if [ $umaskset = no ] || [ -s $OUTPUT ] ; then
                printf "\nChecking root csh paths, umask values:\n$list\n\n"
                if [ -s $OUTPUT ]; then
                        cat $OUTPUT



Home | Main Index | Thread Index | Old Index