]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkid: stop device probing if error is detected
authorPetr Uzel <petr.uzel@suse.cz>
Thu, 17 May 2012 07:37:25 +0000 (09:37 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 23 May 2012 07:43:51 +0000 (09:43 +0200)
commit078ad9bf06568b38767ac2049371e628373c0ef8
tree6836ec8a1efddcbd16e8f538ebb9a10185706d7f
parent1578ddd658fd2047de601eb8b41f133685c5f366
blkid: stop device probing if error is detected

blkid -p dev1 dev2 [...] now stops upon first error detected and
returns correct value. Previously, if error was detected with dev1,
it continued with dev2 anyways and so the return value corresponded
to the last device only.

Reported-by: Bernhard Voelker <bernhard.voelker@siemens-enterprise.com>
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
misc-utils/blkid.c