Sort the output of mount
Requested by: des Remove a redundant sed
This commit is contained in:
parent
bec1333db4
commit
48a7635f95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66042
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user