]> git.ipfire.org Git - thirdparty/util-linux.git/commit
losetup: add error feedback for --remove command
authorKarel Zak <kzak@redhat.com>
Thu, 16 Oct 2025 09:22:47 +0000 (11:22 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 21 Oct 2025 08:47:27 +0000 (10:47 +0200)
commit7b62b2dd72d4f004e66234cc63abf8da94e1926e
treea3f83d05abe545dacf8897fffcafb263b23b300a
parent7f0f877672b7189f20a2429b323ddd475e5d8acd
losetup: add error feedback for --remove command

The remove_loop() function was silently failing without providing
any feedback to the user. This also fixes incorrect indentation
(spaces instead of tabs).

Signed-off-by: Karel Zak <kzak@redhat.com>
Reported-by: Benno Schulenberg <bensberg@telfort.nl>
sys-utils/losetup.c