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

5
beadm
View File

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