From d3601914df17fc42d48ee58f9af71f4610512a22 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 16 Oct 2013 11:57:24 +0200 Subject: [PATCH] 00-crypt.sh: fix undefined function, s/err_msg/bad_msg/ Thanks to Thomas Bettler for reporting --- defaults/initrd.d/00-crypt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.d/00-crypt.sh b/defaults/initrd.d/00-crypt.sh index bf35df4..90c5f3a 100755 --- a/defaults/initrd.d/00-crypt.sh +++ b/defaults/initrd.d/00-crypt.sh @@ -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))