File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 367367ZPOOL_STATUS=$( env LC_ALL=C zpool status 2>&1 ) \
368368 || { print_log error " zpool status $? : $ZPOOL_STATUS " ; exit 135; }
369369
370- ZFS_LIST=$( env LC_ALL=C zfs list -r -H -t filesystem,volume -s name \
371- -o name,com.sun:auto-snapshot,com.sun:auto-snapshot:" $opt_label " " ${@ } " ) \
370+
371+ ZFS_LIST=$( env LC_ALL=C zfs list -H -t filesystem,volume -s name \
372+ -o name,com.sun:auto-snapshot,com.sun:auto-snapshot:" $opt_label " ) \
372373 || { print_log error " zfs list $? : $ZFS_LIST " ; exit 136; }
373374
374375if [ -n " $opt_fast_zfs_list " ]
375376then
376- SNAPSHOTS_OLD=$( env LC_ALL=C zfs list -r - H -t snapshot -o name -s name " ${ @ } " | \
377+ SNAPSHOTS_OLD=$( env LC_ALL=C zfs list -H -t snapshot -o name -s name | \
377378 grep $opt_prefix | \
378379 awk ' { print substr( $0, length($0) - 14, length($0) ) " " $0}' | \
379380 sort -r -k1,1 -k2,2 | \
380381 awk ' { print substr( $0, 17, length($0) )}' ) \
381382 || { print_log error " zfs list $? : $SNAPSHOTS_OLD " ; exit 137; }
382383else
383- SNAPSHOTS_OLD=$( env LC_ALL=C zfs list -r - H -t snapshot -S creation -o name " ${ @ } " ) \
384+ SNAPSHOTS_OLD=$( env LC_ALL=C zfs list -H -t snapshot -S creation -o name) \
384385 || { print_log error " zfs list $? : $SNAPSHOTS_OLD " ; exit 137; }
385386fi
386387
You can’t perform that action at this time.
0 commit comments