parse-lvm.sh: fix for generated initqueue/finished script
authorMichal Soltys <soltys@ziu.info>
Thu, 28 Jul 2011 12:40:10 +0000 (14:40 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 28 Jul 2011 13:01:35 +0000 (15:01 +0200)
commit6c706227f55161c31d17769155c179180e5be75e
tree7dbfc597f62b1cacc5a780d3086dd895ca7587be
parent949a077a58bad01fa7ebe763e76e6de84c469dc6
parse-lvm.sh: fix for generated initqueue/finished script

The script that was generated always returned the status of the last test
condition, potentially missing any earlier non-existing devices.

The change assures, that the script returns 0 only if all expected
devices are found.

Signed-off-by: Michal Soltys <soltys@ziu.info>
modules.d/90lvm/parse-lvm.sh