Browse Source

Avoid spurious "globally exported" warning. Noted by jared r r spiegel.

ok henning@
OPENBSD_3_7
otto 20 years ago
parent
commit
c1b8c6bca5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/security

+ 2
- 2
src/etc/security View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # from: @(#)security 8.1 (Berkeley) 6/9/93
# #
@ -441,7 +441,7 @@ if [ -s /etc/exports ] ; then
for (i = 2; i <= NF; ++i) { for (i = 2; i <= NF; ++i) {
if ($i ~ /^-ro$/) if ($i ~ /^-ro$/)
readonly = 1; readonly = 1;
else if ($i !~ /^-/)
else if ($i !~ /^-/ || $i ~ /^-network/)
next; next;
} }
if (readonly) if (readonly)


Loading…
Cancel
Save