HomeFreeBSD

etcupdate: Remove the old pre-world tree when rotating for -p.

Description

etcupdate: Remove the old pre-world tree when rotating for -p.

This fixes a bug in an earlier change to move tree rotation to
the end of the update where the step to make room for the new
preworld tree was deleting the old "current" tree instead of
the old "preworld" tree.

Reported by: olivier, dhw
Fixes: 0611aec3cf3a373e6a06f103699dbc91c3d6d472
MFC after: 2 weeks

Details

Provenance
jhbAuthored on Apr 23 2021, 4:40 PM
Parents
rGd500a85e640d: dtrace tests: Fix tst.system.d after ping/ping6 unification
Branches
Unknown
Tags
Unknown