mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Sort the output of mount
Requested by: des Remove a redundant sed
This commit is contained in:
parent
bec1333db4
commit
48a7635f95
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue