diff sbin/fzfs @ 533:07071afd9ae5

Reset some variables in the process environment at loading time: GREP_OPTIONS and PATH_FSTAB. LC_ALL (and LANG and friends) are left alone currently.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 05 Sep 2024 22:06:51 +0200
parents 703e9f357339
children 62cd970aea9c
line wrap: on
line diff
--- a/sbin/fzfs	Thu Sep 05 04:05:33 2024 +0200
+++ b/sbin/fzfs	Thu Sep 05 22:06:51 2024 +0200
@@ -322,7 +322,7 @@
           done
     else
         /sbin/mount -t zfs -p \
-        | LC_ALL=C GREP_OPTIONS="" /usr/bin/egrep "^${_dsname}(/|\s)" \
+        | LC_ALL=C /usr/bin/egrep "^${_dsname}(/|\s)" \
         | LC_ALL=C /usr/bin/sort -n -r \
         | while IFS=' '$'\t' read -r _name _mp _rest ; do
             if checkyes _opt_dry_run ; then