dissect: is_loop_device() returns negative on error, don't mistake that is true
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Sep 2020 15:24:33 +0000 (17:24 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 10:06:27 +0000 (12:06 +0200)
commit31875b3cb05a2de76054752d40a810e40c8dbe87
tree374a662ad03d26db199461e5fd821f314097aabe
parent418cf0e78c067f7249f4769f78c8c199d907935f
dissect: is_loop_device() returns negative on error, don't mistake that is true

(cherry picked from commit 3afda7c7976c25db786948a961873fa5c2c8e0e9)
src/shared/dissect-image.c