Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff sbin/fzfs @ 674:6e7c118e7d47
fzfs: FIX: "fzfs umount" did not properly parse "mount -p" properly.
The rest of the line was merged into the mountpoint field.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 30 Sep 2024 16:55:42 +0200 |
| parents | bc418b122fc9 |
| children | 8f1583faf9ea |
line wrap: on
line diff
--- a/sbin/fzfs Mon Sep 30 15:49:01 2024 +0200 +++ b/sbin/fzfs Mon Sep 30 16:55:42 2024 +0200 @@ -316,7 +316,7 @@ _get_zfs_mounts_for_dataset_tree -r "${_dsname}" \ | { - while IFS=$'\t' read -r _name _mp ; do + while IFS=$'\t' read -r _name _mp _rest; do if checkyes _opt_dry_run ; then if [ -z "${_opt_force}" ]; then echo "Would umount ${_name} from ${_mp}"
