summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <max@dual.(none)>2007-09-03 11:48:20 +0200
committermaximilian attems <max@dual.(none)>2007-09-03 11:48:20 +0200
commite2094587495879e34285018ff6f2b9f46c34ca45 (patch)
tree9e580e9e91871a06ec1267313700215573f96528
parent748cff514e9033e1a7984f26ece7ed25079e3535 (diff)
downloadinitramfs-tools-e2094587495879e34285018ff6f2b9f46c34ca45.tar.gz
initramfs-tools-e2094587495879e34285018ff6f2b9f46c34ca45.zip
init: fix typo from initial implementation
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index e66cac2..df4e181 100755
--- a/init
+++ b/init
@@ -185,7 +185,7 @@ fi
# Search for valid init
if [ -z "${init}" ] ; then
for init in /sbin/init /etc/init /bin/init /bin/sh; do
- if [ ! -x "${rootmnt}${i}" ]; then
+ if [ ! -x "${rootmnt}${init}" ]; then
continue
fi
break