@@ -329,7 +329,7 @@ mount_zfs() {
329329 fi
330330
331331 # zfsutil is required for non-legacy mounts and omitted for legacy mounts or snapshots
332- if [ " $( zfs get -H -o value mountpoint " ${fs} " ) " = " legacy" ] || is_snapshot " ${fs} " ; then
332+ if [ " $( zfs get -H -o value mountpoint " ${fs} " ) " = " legacy" ] || is_snapshot " ${fs} " ; then
333333 zdebug " mounting ${fs} at ${mnt} (${rwo} )"
334334 mount -o " ${rwo} " -t zfs " ${fs} " " ${mnt} "
335335 ret=$?
@@ -1143,8 +1143,8 @@ load_be_cmdline() {
11431143 # Nothing is added by default
11441144 adds=()
11451145
1146- args=" $( read_kcl_file " ${fs} " " ${kern_kcl} " ) " || args=" "
1147- args=" $( kcl_tokenize <<< " ${args}" ) " || args=" "
1146+ args=" $( read_kcl_value " ${fs} " " ${kern_kcl} " ) " || args=" "
1147+ args=" $( kcl_tokenize <<< " ${args}" ) " || args=" "
11481148
11491149 # Use a very basic default KCL if none is specified
11501150 [ -n " ${args} " ] || args=" quiet loglevel=4"
@@ -1848,7 +1848,7 @@ cache_key() {
18481848 fi
18491849
18501850 relkeyloc=" "
1851- if ksmount=" $( zfs get -o value -H mountpoint " ${keysrc} " 2> /dev/null ) " ; then
1851+ if ksmount=" $( zfs get -o value -H mountpoint " ${keysrc} " 2> /dev/null ) " ; then
18521852 case " ${ksmount} " in
18531853 none|legacy)
18541854 zdebug " no discernable mountpoint for ${keysrc} , using only absolute key path"
@@ -2064,8 +2064,8 @@ emergency_shell() {
20642064 cat << -EOF
20652065 $( colorize green " emergency shell" ) ${1: +: $1 }
20662066
2067- type '$( colorize red " help" ) ' for online documentation
2068- type '$( colorize red " exit" ) ' to return to ZFSBootMenu
2067+ type '$( colorize red " help" ) ' for online documentation
2068+ type '$( colorize red " exit" ) ' to return to ZFSBootMenu
20692069
20702070 EOF
20712071
@@ -2239,7 +2239,7 @@ is_mountpoint() {
22392239 return
22402240 fi
22412241
2242- if ! mount_path=" $( readlink -f " ${1} " ) " ; then
2242+ if ! mount_path=" $( readlink -f " ${1} " ) " ; then
22432243 zerror " parent of ${1} does not exist"
22442244 return 1
22452245 fi
@@ -2251,7 +2251,7 @@ is_mountpoint() {
22512251
22522252 # shellcheck disable=SC2034
22532253 while read -r dev path opts; do
2254- path=" $( readlink -f " ${path} " ) " || continue
2254+ path=" $( readlink -f " ${path} " ) " || continue
22552255 [ " ${path} " = " ${mount_path} " ] && return 0
22562256 done < /proc/self/mounts
22572257
0 commit comments