changeset 554:c8348c707928

common.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFS
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 11 Sep 2024 12:11:52 +0200
parents 09c45b00333c
children 2fda9ab57359
files share/local-bsdtools/common.subr
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/share/local-bsdtools/common.subr	Wed Sep 11 12:09:48 2024 +0200
+++ b/share/local-bsdtools/common.subr	Wed Sep 11 12:11:52 2024 +0200
@@ -242,7 +242,7 @@
         fi
         /sbin/mount -t zfs -p \
         | {
-            while IFS=' '$'\t' read -r _ds _mount _rest ; do
+            while IFS=$' \t' read -r _ds _mount _rest ; do
                 if [ "$_mount" = "$_mountpoint" ]; then
                     printf '%s' "${_ds}"
                     return 0