diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-15 11:53:12 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-15 11:53:12 +0100 |
commit | e88bb5ccff9e8ce1028e94aadb15fc4707e6f784 (patch) | |
tree | ee7084b3f3c6c0adf12238a6c9f95f57fe8b9814 /src/core/libs/lib-ui-interactive.sh | |
parent | eb24230a5f96c7ad3d1d1e551c4fc0f3bcc1970f (diff) |
fix for too many matches
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 1ed844e..042b88e 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -433,9 +433,9 @@ interactive_filesystems() { declare part_escaped=${part//\//\\/} # escape all slashes otherwise awk complains declare part_escaped=${part_escaped/+/\\+} # escape the + sign too - part_type=$( awk "/^$part_escaped/ {print \$2}" $TMP_BLOCKDEVICES) - part_label=$(awk "/^$part_escaped/ {print \$3}" $TMP_BLOCKDEVICES) - fs=$( awk "/^$part_escaped/ {print \$4}" $TMP_BLOCKDEVICES) + part_type=$( awk "/^$part_escaped / {print \$2}" $TMP_BLOCKDEVICES) + part_label=$(awk "/^$part_escaped / {print \$3}" $TMP_BLOCKDEVICES) + fs=$( awk "/^$part_escaped / {print \$4}" $TMP_BLOCKDEVICES) [ "$part_label" == no_label ] && part_label= [ "$fs" == no_fs ] && fs= |