summaryrefslogtreecommitdiff
blob: 7f0bfb894f02243c58d884e93a707c9ecd9a45b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=301331
X-Gentoo-Bug: 301331

diff -Nuar LVM2.2.02.67.orig/scripts/lvm2create_initrd/lvm2create_initrd LVM2.2.02.67/scripts/lvm2create_initrd/lvm2create_initrd
--- LVM2.2.02.67.orig/scripts/lvm2create_initrd/lvm2create_initrd	2010-06-07 18:44:34.182980475 +0000
+++ LVM2.2.02.67/scripts/lvm2create_initrd/lvm2create_initrd	2010-06-07 18:51:27.636312899 +0000
@@ -469,9 +469,9 @@
 rmdir $TMPMNT/lost+found
 
 echo "$cmd -- ummounting ram disk"
-umount $DEVRAM
+umount $TMPMNT
 if [ $? -ne 0 ]; then
-   echo "$cmd -- ERROR umounting $DEVRAM"
+   echo "$cmd -- ERROR umounting $TMPMNT"
    cleanup 1
 fi