]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: reenable automatic removal before trying again
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 24 Oct 2023 17:32:04 +0000 (02:32 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 31 Oct 2023 10:30:30 +0000 (10:30 +0000)
commit758a3aeb4c8229e8849fef7e1276bbca4b55ae56
treee7299526d8686eb24a72f971fb22cb7771a1c85c
parent7e472fc9847f921133ecdfc96cd7a7b640cfb9cc
dissect: reenable automatic removal before trying again

The device node may be different from we want to activate, and we may
try to activate different device in the subsequent loop. In such case,
we should enable the automatic removal for the unexpected device.
Otherwise, it will not be removed even when not necessary anymore.
src/shared/dissect-image.c