summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2009-06-07 00:01:39 +0200
committerThomas Bächler <thomas@archlinux.org>2009-06-07 00:01:39 +0200
commit1a26b2e49863cb3f010bc7b798fdbe3b8511ddfa (patch)
tree216e37bd4244ab30ac3cd354fcd1d5596ebd0836 /init
parentfe2ca57793f5f8461084d69e69939d8e0bb42b2b (diff)
downloadmkinitcpio-1a26b2e49863cb3f010bc7b798fdbe3b8511ddfa.tar.gz
mkinitcpio-1a26b2e49863cb3f010bc7b798fdbe3b8511ddfa.tar.xz
Fix an 'elif' that should have been an 'if'
Diffstat (limited to 'init')
-rw-r--r--init2
1 files changed, 1 insertions, 1 deletions
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}"