]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: Remove bogus check
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 25 Nov 2022 14:09:53 +0000 (15:09 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Nov 2022 23:27:41 +0000 (08:27 +0900)
commit5fe8dbe728e5a4aeda0c6ce7748592614565dbe9
tree65e5784a0aae64d883e1b4ed6214d9f8962e8ce6
parentf38e89c23ce52efa27bb47f5c3dafecdb987492b
repart: Remove bogus check

The --empty option applies to the partition table of the block
device, not the number of definition files we've read. Also, even
if we don't find any definition files, let's not shortcut execution
so we can run repart on a device/loopback file to get information
on the partition table.
src/partition/repart.c