]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: fix the loop dev support check
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 11 Mar 2021 11:49:00 +0000 (12:49 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Mar 2021 13:42:33 +0000 (14:42 +0100)
commit3a1bc3fcc02e61683e815091d129b03ad10771ef
treeac52724337ec13b5bda53d0c2bea6a5076be6162
parentceffd6a961c405e7cea72fe96cee555bc74e6866
repart: fix the loop dev support check

Since f17bdf8264e231fa31c769bff2475ef698487d0b the test-repart was
effectively disabled, since `/dev/loop-control` is a character special
file, whereas `-f` works only on regular files. Even though we could use
`-c` to check specifically for character special files, let's use `-e`
just in case.
src/partition/test-repart.sh