mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'fixed elif'
This commit is contained in:
parent
81d06e3442
commit
03cfa86c21
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue