From: Michael Prokop Date: Fri, 26 Jun 2015 12:49:05 +0000 (+0200) Subject: Always display failure and warning messages. X-Git-Tag: debian/5.0_a4-1+grml.1~20 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=a34ce1ac9218807a96cc5f22a76d59aceaf17fc9;p=live-boot-grml.git Always display failure and warning messages. --- 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