From c1b8c6bca5f0dd021fa1de3d819bdce0e554390b Mon Sep 17 00:00:00 2001 From: otto <> Date: Tue, 22 Feb 2005 10:50:55 +0000 Subject: [PATCH] Avoid spurious "globally exported" warning. Noted by jared r r spiegel. ok henning@ --- src/etc/security | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/security b/src/etc/security index 3e52f898..f827b4d4 100644 --- a/src/etc/security +++ b/src/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)