diff mbox

Forward of moderated message

Message ID mailman.0.1454501353.1357.canonical-kernel-team@lists.canonical.com
State New
Headers show

Commit Message

Marko Stanković has proposed merging ~sm4rk0/ubuntu/+source/initramfs-tools:ubuntu into ~ubuntu-kernel/ubuntu/+source/initramfs-tools:ubuntu.

Commit message:
hook-functions: fix NVME typo LP: #1539826

Requested reviews:
  Ubuntu Kernel Repositories (ubuntu-kernel)

For more details, see:
https://code.launchpad.net/~sm4rk0/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/284807

hook-functions: fix NVME typo LP: #1539826
diff mbox

Patch

diff --git a/hook-functions b/hook-functions
index a22cb4e..a011160 100644
--- a/hook-functions
+++ b/hook-functions
@@ -471,7 +471,7 @@  dep_add_modules_mount()
 		block=${block%%[0-9]*}
 		block='i2o!'$block
 	# nvme device
-	elif [ "${root#/dev/nvme}" != "${dev_node}" ]; then
+	elif [ "${dev_node#/dev/nvme}" != "${dev_node}" ]; then
 		block=${dev_node#/dev/}
 		block="${block%%p[0-9]*}"
 	# classical block device