diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-17 09:45:15 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-17 09:45:15 +0100 |
commit | c5e7eea26c1ce2305012ab67d88e54477e389ccd (patch) | |
tree | 85a45609f9302591ab61feb37090d3e12de0a9a0 | |
parent | dfd59bc0673e8725a55136027291aaa251d93b8a (diff) |
todo update for deletion of dm_mapper volumes
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index d4913d6..2fdfa3e 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -408,7 +408,7 @@ remove_blockdevice () target="$part $part_type $part_label" declare target_escaped=${target//\//\\/} # note: apparently no need to escape the '+' sign for sed. declare target_escawk=${target_escaped/+/\\+} # ...but that doesn't count for awk - fs_string=`awk "/^$target_escawk / { print \$4}" $TMP_BLOCKDEVICES` + fs_string=`awk "/^$target_escawk / { print \$4}" $TMP_BLOCKDEVICES` #TODO: fs_string is the entire line, incl part? debug "Cleaning up partition $part (type $part_type, label $part_label). It has the following FS's on it: $fs_string" sed -i "/$target_escaped/d" $TMP_BLOCKDEVICES || show_warning "blockdevice removal" "Could not remove partition $part (type $part_type, label $part_label). This is a bug. please report it" for fs in `sed 's/|/ /g' <<< $fs_string` |