diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 18:37:37 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 18:37:37 +0100 |
commit | 385dafc53c584f8b9b459cc6c95ffe5e02894efd (patch) | |
tree | 79e345ab6369d77781751b4e1ca3b4040b5bdc39 /src/core/libs/lib-blockdevices-filesystems.sh | |
parent | 49a78429d729a7a712eb8639d26c5b46a2795c98 (diff) |
fix for duplicate LV's (i mean it this time) + 'umounting' of lvm pv's + small shit
Diffstat (limited to 'src/core/libs/lib-blockdevices-filesystems.sh')
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 19c9fea..c76264a 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -391,7 +391,7 @@ process_filesystems () elif [ "$fs_mountpoint" != no_mount ] then infofy "(Maybe) Umounting $part" disks - umount $part &>/dev/null # could be that this was not mounted yet. no problem. NOTE: umount part, not mountpoint. some other part could be mounted in this place, we don't want to affect that. + umount ${part/+/} &>/dev/null # could be that this was not mounted yet. no problem. NOTE: umount part, not mountpoint. some other part could be mounted in this place, we don't want to affect that. fi done |