Merge PR #514 from upstream

This commit is contained in:
Jeroen 2023-05-28 10:55:00 +02:00
parent df543a04ab
commit 328d9c282b
Signed by: jeroen
GPG Key ID: 7C7028F783798BAB

View File

@ -140,7 +140,7 @@ zfs::__format_options(){
local _c_opts="$2"
if [ -n "${_c_opts}" ]; then
_c_opts=$(echo "${_c_opts}" |sed -e 's/\ / -o /')
_c_opts=$(echo "${_c_opts}" |sed -E -e 's/[ \t]+/ -o /g')
_c_opts="-o ${_c_opts}"
setvar "${_val}" "${_c_opts}"
return 0