00-crypt.sh: fix undefined function, s/err_msg/bad_msg/

Thanks to Thomas Bettler for reporting
master
Fabio Erculiani 11 years ago
parent 9c919f2954
commit d3601914df

@ -106,8 +106,8 @@ _open_luks() {
good_msg "Using key device ${real_luks_keydev}."
if [ ! -b "${real_luks_keydev}" ]; then
err_msg "Insert device ${LUKS_KEYDEV} for ${LUKS_NAME}"
err_msg "You have 10 seconds..."
bad_msg "Insert device ${LUKS_KEYDEV} for ${LUKS_NAME}"
bad_msg "You have 10 seconds..."
local count=10
while [ ${count} -gt 0 ]; do
count=$((count-1))

Loading…
Cancel
Save