From c61aab4fd600ed65636a981d30540c7a98ee56fd Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 28 Feb 2007 23:31:12 +0000 Subject: Fix the "Loading root filesystem module...-e" buggy output git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@196 880c04e9-e011-0410-abf7-b926e227c9cd --- functions | 2 +- hooks/filesystems | 2 +- init | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions b/functions index d7ec918..df04955 100644 --- a/functions +++ b/functions @@ -33,7 +33,7 @@ checked_modules () fi } -msg () { [ "${QUIET}" = "n" ] && echo "${@}"; } +msg () { [ "${QUIET}" = "n" ] && echo ${@}; } err () { echo "ERROR: ${@}" >&2; } die () { echo "FATAL: ${@}" >&2; exit 1; } diff --git a/hooks/filesystems b/hooks/filesystems index 5ab5c6b..28c4d0e 100644 --- a/hooks/filesystems +++ b/hooks/filesystems @@ -6,7 +6,7 @@ run_hook () FSTYPE="${rootfstype}" else if [ ! -e "${root}" ]; then - msg -e "\nAttempting to create root device '${root}'" + msg "\nAttempting to create root device '${root}'" if [ "x${rootdelay}" != "x" ]; then msg -n "Waiting for devices to settle..." diff --git a/init b/init index e9d1866..b000770 100644 --- a/init +++ b/init @@ -1,6 +1,6 @@ #!/bin/sh -msg () { [ "${quiet}" != "y" ] && echo "$@"; } +msg () { [ "${quiet}" != "y" ] && echo $@; } err () { echo "ERROR: $@"; } msg ":: Loading Initramfs" -- cgit v1.2.3-24-g4f1b