Fix return value of crypt_filter() which caused bogus LUKS opening errors (bug #383545)

cleanup-cruft
Sebastian Pipping 13 years ago
parent 9bdd75e3cc
commit 8f8676adbd

@ -5,6 +5,10 @@
# Distributed under the GPL v2
# $Id$
31 Oct 2011; Sebastian Pipping <sping@gentoo.org> defaults/initrd.scripts:
Fix return value of crypt_filter() which caused bogus LUKS opening errors
(bug #383545)
30 Oct 2011; Sebastian Pipping <sping@gentoo.org> genkernel:
Bump version to 3.4.19

@ -356,10 +356,12 @@ crypt_filter() {
else
splash 'verbose' > /dev/null &
eval $1
if [ $? -eq 0 ]
res=$?
if [ ${res} -eq 0 ]
then
splash set_msg 'Disk unlocked.'
fi
return ${res}
fi
}

Loading…
Cancel
Save