From 1a26b2e49863cb3f010bc7b798fdbe3b8511ddfa Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 7 Jun 2009 00:01:39 +0200 Subject: Fix an 'elif' that should have been an 'if' --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init b/init index d5ebace..ce9dcda 100644 --- a/init +++ b/init @@ -97,7 +97,7 @@ if [ -z "${nfsroot}" -a "${root}" != "/dev/nfs" ]; then msg "\nRoot device '${root}' doesn't exist, attempting to create it" eval $(/bin/parseblock "${root}") - elif [ -z "${BLOCKDEVICE}" ]; then + if [ -z "${BLOCKDEVICE}" ]; then echo "ERROR: Failed to parse block device ids for '${root}'" else echo "/bin/mknod /dev/root b ${BLOCKDEVICE}" -- cgit v1.2.3-24-g4f1b