diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-09-18 18:35:07 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-09-18 18:35:07 +0000 |
commit | 48a7635f9597a28033e98c048b65a02281d3d699 (patch) | |
tree | da3563a7a5b4c2ea89f55a25f54074ac767a44fa | |
parent | bec1333db4e0434e803b238811e4b691fcf21525 (diff) | |
download | src-48a7635f9597a28033e98c048b65a02281d3d699.tar.gz src-48a7635f9597a28033e98c048b65a02281d3d699.zip |
Sort the output of mount
Requested by: des
Remove a redundant sed
Notes
Notes:
svn path=/head/; revision=66042
-rw-r--r-- | etc/security | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/security b/etc/security index 0e32b3f89e5d..22b5e8e30b41 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 |