[PATCH] Fix: initialize HASH_FOUND and LUKS_FOUND to ""
Christian Jaeger
christian at jaeger.mine.nu
Wed Dec 10 22:11:06 UTC 2008
Instead of unset'ing them, which would make things fail with set -eu.
Signed-off-by: Christian Jaeger <christian at jaeger.mine.nu>
---
debian/initramfs/cryptroot-hook | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/initramfs/cryptroot-hook b/debian/initramfs/cryptroot-hook
index 815b133..9e25d09 100644
--- a/debian/initramfs/cryptroot-hook
+++ b/debian/initramfs/cryptroot-hook
@@ -200,8 +200,8 @@ get_device_opts() {
# We have all the basic options, let's go trough them
OPTIONS="target=$target,source=$source,key=$key"
local IFS=", "
- unset HASH_FOUND
- unset LUKS_FOUND
+ HASH_FOUND=""
+ LUKS_FOUND=""
for opt in $rootopts; do
case $opt in
cipher=*)
--
1.6.0.5
--------------040205070700080306060505
Content-Type: text/x-patch;
name="0004-Fix-mkdir-p-DESTDIR-conf-conf.d.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="0004-Fix-mkdir-p-DESTDIR-conf-conf.d.patch"
More information about the pkg-cryptsetup-devel
mailing list