summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-02-22 10:50:55 +0000
committerotto <otto@openbsd.org>2005-02-22 10:50:55 +0000
commitbf3d5a496882b48dfd4745ca1968c81ec5630a63 (patch)
tree3627e0186d71eaeb76629bc32fad61717d940b6c
parentmake ral compile on macppc. (diff)
downloadwireguard-openbsd-bf3d5a496882b48dfd4745ca1968c81ec5630a63.tar.xz
wireguard-openbsd-bf3d5a496882b48dfd4745ca1968c81ec5630a63.zip
Avoid spurious "globally exported" warning. Noted by jared r r spiegel.
ok henning@
-rw-r--r--etc/security4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security
index 3e52f8984fb..f827b4d48ea 100644
--- a/etc/security
+++ b/etc/security
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: security,v 1.70 2005/02/07 06:08:10 david Exp $
+# $OpenBSD: security,v 1.71 2005/02/22 10:50:55 otto Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -441,7 +441,7 @@ if [ -s /etc/exports ] ; then
for (i = 2; i <= NF; ++i) {
if ($i ~ /^-ro$/)
readonly = 1;
- else if ($i !~ /^-/)
+ else if ($i !~ /^-/ || $i ~ /^-network/)
next;
}
if (readonly)