Fix dataset promote for making the boot environment active.

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2012-08-31 18:09:55 +02:00
parent 632e46e5af
commit d111b1452d
1 changed files with 3 additions and 3 deletions

6
beadm
View File

@ -430,10 +430,10 @@ EOF
| while read NAME ORIGIN
do
zfs set canmount=on ${NAME}
if [ "${ORIGIN}" != "-" ]
then
while __be_clone ${NAME}
do
zfs promote ${NAME}
fi
done
done
echo "Activated successfully"
;;