'fixed elif'

This commit is contained in:
Tobias Powalowski 2009-06-17 13:55:19 +02:00
parent 81d06e3442
commit 03cfa86c21

View file

@ -103,7 +103,7 @@ else
msg "\nRoot device '${root}' doesn't exist, attempting to create it" msg "\nRoot device '${root}' doesn't exist, attempting to create it"
eval $(/bin/parseblock "${root}") eval $(/bin/parseblock "${root}")
elif [ -z "${BLOCKDEVICE}" ]; then if [ -z "${BLOCKDEVICE}" ]; then
echo "ERROR: Failed to parse block device ids for '${root}'" echo "ERROR: Failed to parse block device ids for '${root}'"
else else
echo "/bin/mknod /dev/root b ${BLOCKDEVICE}" echo "/bin/mknod /dev/root b ${BLOCKDEVICE}"