diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-06-07 00:01:39 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-06-07 00:01:39 +0200 |
commit | 1a26b2e49863cb3f010bc7b798fdbe3b8511ddfa (patch) | |
tree | 216e37bd4244ab30ac3cd354fcd1d5596ebd0836 | |
parent | fe2ca57793f5f8461084d69e69939d8e0bb42b2b (diff) | |
download | mkinitcpio-1a26b2e49863cb3f010bc7b798fdbe3b8511ddfa.tar.gz mkinitcpio-1a26b2e49863cb3f010bc7b798fdbe3b8511ddfa.tar.xz |
Fix an 'elif' that should have been an 'if'
-rw-r--r-- | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" |