summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-09-18 18:35:07 +0000
committerbrian <brian@FreeBSD.org>2000-09-18 18:35:07 +0000
commit0f9e89fe51b6f3b54069b24d31b6225e40ea55de (patch)
tree920c46a6da9e1988321b73a46c764b03ac67202c /etc
parent07ac219faf91bbdebe0489d985c725d2c08aa544 (diff)
downloadFreeBSD-src-0f9e89fe51b6f3b54069b24d31b6225e40ea55de.zip
FreeBSD-src-0f9e89fe51b6f3b54069b24d31b6225e40ea55de.tar.gz
Sort the output of mount
Requested by: des Remove a redundant sed
Diffstat (limited to 'etc')
-rw-r--r--etc/security2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/security b/etc/security
index 0e32b3f..22b5e8e 100644
--- a/etc/security
+++ b/etc/security
@@ -43,7 +43,7 @@ echo "checking setuid files and devices:"
# Note that one of the original problems, the possibility of overrunning
# the args to ls, is still here...
#
-MP=`mount -t ufs | grep -v " nosuid" | sed 's;/dev/;&r;' | awk '{ print $3 }'`
+MP=`mount -t ufs | grep -v " nosuid" | awk '{ print $3 }' | sort`
set ${MP}
while [ $# -ge 1 ]; do
mount=$1
OpenPOWER on IntegriCloud