]> git.ipfire.org Git - thirdparty/systemd.git/commit
portable: fix --force flag combination with directory extension
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 12 Feb 2026 21:57:26 +0000 (21:57 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 12 Feb 2026 23:20:47 +0000 (23:20 +0000)
commitd07aa23c872d13baa2816a69326eea6f9d5271a0
treeb1c7dd087a6e2ec2b5c4078c655a1d9ef727a422
parent155ae657b1ae8b69fae811b28117cd7c83895c76
portable: fix --force flag combination with directory extension

The check for image type uses the wrong variable, so it's applied
when it shouldn't.

Follow-up for 06768b90a32ac0d36252ebc5f426ad471bf29fce
src/portable/portable.c
test/units/TEST-29-PORTABLE.directory.sh
test/units/TEST-29-PORTABLE.image.sh