Fix the mount command.

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2013-06-20 17:52:26 +02:00
parent a5c288548d
commit c3bfd71e75
1 changed files with 1 additions and 1 deletions

2
beadm
View File

@ -709,7 +709,7 @@ EOF
echo "ERROR: Cannot mount '${2}' at '${TARGET}' mountpoint"
exit 1
fi
PREFIX=$( echo ${POOL}/${BEDS}/${2}/ | sed 's/\//\\//g' )
PREFIX=$( echo ${POOL}/${BEDS}/${2}/ | sed 's/\//\\/g' )
zfs list -H -o name,mountpoint -r ${POOL}/${BEDS}/${2} \
| grep -v -E "[[:space:]](legacy|none)$" \
| sort -n \