summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-01 00:31:12 +0100
committerAaron Griffin <aaron@archlinux.org>2007-03-01 00:31:12 +0100
commitc61aab4fd600ed65636a981d30540c7a98ee56fd (patch)
treeac180bc111df6e195a95c4d522497f8bd2a4b0e4
parentca7642cd01994b002a12b7c719e83d339d382a36 (diff)
downloadmkinitcpio-c61aab4fd600ed65636a981d30540c7a98ee56fd.tar.gz
mkinitcpio-c61aab4fd600ed65636a981d30540c7a98ee56fd.tar.xz
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
-rw-r--r--functions2
-rw-r--r--hooks/filesystems2
-rw-r--r--init2
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"