summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMichael Prokop <mika@grml.org>2007-09-08 19:53:01 +0200
committermaximilian attems <max@stro.at>2007-09-08 19:53:01 +0200
commit6303982cbb523988b95fd79a10534ba7de81e703 (patch)
treeacba11d6b8333f11432f14c3378b122155f9bb73 /init
parent41f9c1621e502a4af2f00f063d42e0f4ac53d6c2 (diff)
downloadinitramfs-tools-6303982cbb523988b95fd79a10534ba7de81e703.tar.gz
initramfs-tools-6303982cbb523988b95fd79a10534ba7de81e703.zip
fix init error message
You’ll notice a strange error message due to an empty $init if the rootfs can’t be found.
Diffstat (limited to 'init')
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index df4e181..845bac1 100755
--- a/init
+++ b/init
@@ -178,8 +178,8 @@ mount -n -o move /proc ${rootmnt}/proc
# Check init bootarg
if [ -n "${init}" ] && [ ! -x "${rootmnt}${init}" ]; then
- init=
echo "Target filesystem doesn't have ${init}."
+ init=
fi
# Search for valid init