[PATCH] Fix: recurse for non crypt nodes
Christian Jaeger
christian at jaeger.mine.nu
Wed Dec 10 22:04:43 UTC 2008
Signed-off-by: Christian Jaeger <christian at jaeger.mine.nu>
---
debian/initramfs/cryptroot-hook | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/debian/initramfs/cryptroot-hook b/debian/initramfs/cryptroot-hook
index cc0bd24..51ca537 100644
--- a/debian/initramfs/cryptroot-hook
+++ b/debian/initramfs/cryptroot-hook
@@ -142,7 +142,8 @@ get_lvm_deps() {
continue
fi
if [ "$(dmsetup table $depnode 2> /dev/null | cut -d' ' -f3)" != "crypt" ]; then
- continue
+ get_lvm_deps $depnode # no quoting here as above there isn't either, and it contains appended whitespace
+ # continue or not?
fi
echo "$depnode"
done
--
1.6.0.5
--------------040205070700080306060505
Content-Type: text/x-patch;
name="0002-Fix-quote-parameters-to-get_device_opts.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="0002-Fix-quote-parameters-to-get_device_opts.patch"
More information about the pkg-cryptsetup-devel
mailing list