diff options
author | 1996-07-07 09:35:26 +0000 | |
---|---|---|
committer | 1996-07-07 09:35:26 +0000 | |
commit | 60645fc51641f105fc9b15ff5fb09a76fd7ca016 (patch) | |
tree | fb4f357caadfc57b46b953ed6cb061bdaca3a254 | |
parent | email address of an authority (diff) | |
download | wireguard-openbsd-60645fc51641f105fc9b15ff5fb09a76fd7ca016.tar.xz wireguard-openbsd-60645fc51641f105fc9b15ff5fb09a76fd7ca016.zip |
only watch for pure + entries
-rw-r--r-- | etc/security | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security index d68f15fcdea..742ab89f84c 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.3 1996/05/26 10:25:29 deraadt Exp $ +# $OpenBSD: security,v 1.4 1996/07/07 09:35:26 deraadt Exp $ # PATH=/sbin:/usr/sbin:/bin:/usr/bin @@ -260,7 +260,7 @@ while read uid homedir; do awk '{ if ($0 ~ /^+@.*$/ ) next; - if ($0 ~ /^+.*$/ ) + if ($0 ~ /^\+[ ]*$/ ) printf("%s has + sign in it.\n", FILENAME); }' ${homedir}/$j |