Module Name: src
Committed By: kre
Date: Thu Oct 4 11:50:34 UTC 2018
Modified Files:
src/etc: security
Log Message:
Fix an obvious botch in the previous rev, found by martin@
To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/etc/security
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/security
diff -u src/etc/security:1.123 src/etc/security:1.124
--- src/etc/security:1.123 Sun Sep 23 23:48:33 2018
+++ src/etc/security Thu Oct 4 11:50:34 2018
@@ -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 @@ end-of-csh
< $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