Minor fix in BEADM DESTROY

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2012-08-11 11:56:38 +02:00
parent fe79a8ffe4
commit c8b5290552
1 changed files with 4 additions and 1 deletions

3
beadm
View File

@ -418,7 +418,10 @@ EOF
echo "${ORIGINS}" \
| while read I
do
if [ "${I}" != "-" ]
then
zfs destroy ${I}
fi
done
############## # destroy desired boot environment
############## zfs list -r -H -o name ${POOL}/ROOT/${DESTROY} \