From 6303982cbb523988b95fd79a10534ba7de81e703 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 8 Sep 2007 19:53:01 +0200 Subject: fix init error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit You’ll notice a strange error message due to an empty $init if the rootfs can’t be found. --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init') 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 -- cgit v1.2.3