changeset 625:69d557d67842

fzfs: FIX: no numeric sort for fstab
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 24 Sep 2024 14:38:46 +0200
parents 3de82b013230
children be8dce486af6
files sbin/fzfs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sbin/fzfs	Tue Sep 24 14:23:03 2024 +0200
+++ b/sbin/fzfs	Tue Sep 24 14:38:46 2024 +0200
@@ -329,7 +329,7 @@
         fi
         /sbin/mount -t zfs -p \
         | LC_ALL=C /usr/bin/grep -E "^${_dsname}(/|\s)" \
-        | LC_ALL=C /usr/bin/sort -n -r \
+        | LC_ALL=C /usr/bin/sort -r \
         | while IFS=' '$'\t' read -r _name _mp _rest ; do
             if checkyes _opt_dry_run ; then
                 echo "Would umount ${_name} from ${_mp}"