summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/security6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/security b/etc/security
index 69502352817..019372d421b 100644
--- a/etc/security
+++ b/etc/security
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: security,v 1.18 1997/03/17 20:17:57 gene Exp $
+# $OpenBSD: security,v 1.19 1997/06/02 02:02:25 flipk Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -361,11 +361,11 @@ fi
# File systems should not be globally exported.
if [ -s /etc/exports ] ; then
awk '{
- if ($1 ~ /^#/)
+ if (($1 ~ /^#/) || ($1 ~ /^$/))
next;
readonly = 0;
for (i = 2; i <= NF; ++i) {
- if ($i ~ /-ro/)
+ if ($i ~ /^-ro$/)
readonly = 1;
else if ($i !~ /^-/)
next;