diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 26ab866..901487b 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -343,7 +343,7 @@ process_disk () generate_filesystem_list () { echo -n > $TMP_FILESYSTEMS - while read part type label fs_string + while read part part_type part_label fs_string do if [ "$fs_string" != no_fs ] then @@ -384,7 +384,7 @@ process_filesystems () elif [ "$fs_mountpoint" != no_mount ] then [ "$fs_mount" = target ] && fs_mountpoint=$var_TARGET_DIR$fs_mountpoint - umount $fs_mountpoint # could be that this was not mounted yet. no problem. + umount $part # 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 |