Minor fix in BEADM DESTROY
This commit is contained in:
parent
fe79a8ffe4
commit
c8b5290552
3
beadm
3
beadm
|
|
@ -418,7 +418,10 @@ EOF
|
||||||
echo "${ORIGINS}" \
|
echo "${ORIGINS}" \
|
||||||
| while read I
|
| while read I
|
||||||
do
|
do
|
||||||
|
if [ "${I}" != "-" ]
|
||||||
|
then
|
||||||
zfs destroy ${I}
|
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} \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue