join multiple sed

This commit is contained in:
Bernhard Landauer 2017-03-14 02:45:57 +01:00
parent 84b4472572
commit 05dddc8a1a

View File

@ -312,7 +312,7 @@ mount_opts() {
FS_OPTS="${FS_OPTS} ${i} - off"
done
DIALOG " $(echo $FILESYSTEM | sed "s/.*\.//g" | sed "s/-.*//g") " --checklist "\n$_btrfsMntBody\n " 0 0 \
DIALOG " $(echo $FILESYSTEM | sed "s/.*\.//g;s/-.*//g") " --checklist "\n$_btrfsMntBody\n " 0 0 \
$CHK_NUM $FS_OPTS 2>${MOUNT_OPTS}
# Now clean up the file