From a34ce1ac9218807a96cc5f22a76d59aceaf17fc9 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 26 Jun 2015 14:49:05 +0200 Subject: [PATCH] Always display failure and warning messages. --- components/9990-initramfs-tools.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/9990-initramfs-tools.sh b/components/9990-initramfs-tools.sh index e6b4282..cdb00db 100755 --- a/components/9990-initramfs-tools.sh +++ b/components/9990-initramfs-tools.sh @@ -2,6 +2,17 @@ #set -e +# we definitely want this stuff visible +log_failure_msg() +{ + printf "Failure: $@\n" +} + +log_warning_msg() +{ + printf "Warning: $@\n" +} + log_wait_msg () { # Print a message and wait for enter -- 2.1.4