summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-02-22 10:50:56 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-02-22 10:50:56 +0000
commit8d38d0e0fc4cd49025d19efe66f1baff1333a929 (patch)
treea5be6e77fdb6f58ee218e8c9d411222e30e73d88
parent7e0c75a141f549b5324103c63ab946397ce80a2a (diff)
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)