diff options
| author | Alexander Ziaee <ziaee@FreeBSD.org> | 2026-01-01 12:53:31 -0500 |
|---|---|---|
| committer | Alexander Ziaee <ziaee@FreeBSD.org> | 2026-01-01 12:57:15 -0500 |
| commit | 68d6abd9714384a41028dc0d5086b4930366bbea (patch) | |
| tree | c3b6d75d8ae0cd3281e1525766e9abb9032944fe /usr.sbin | |
| parent | 8f41677ea4963254a3a190ede7cea16f2486cb1d (diff) | |
periodic/801.trim-zfs: Fix daily-trim-zfs-flags
This variable was named incorrectly, resulting in any specified flags
being silently ignored.
PR: 292074
MFC after: 3 days
Reported by: CrazyMihey@Ya.Ru
Fixes: 493908c4b45c (Add a daily zfs trim script)
Diffstat (limited to 'usr.sbin')
| -rwxr-xr-x | usr.sbin/periodic/etc/daily/801.trim-zfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/periodic/etc/daily/801.trim-zfs b/usr.sbin/periodic/etc/daily/801.trim-zfs index 17d2ce217c10..9eed9788d016 100755 --- a/usr.sbin/periodic/etc/daily/801.trim-zfs +++ b/usr.sbin/periodic/etc/daily/801.trim-zfs @@ -44,7 +44,7 @@ case "$daily_trim_zfs_enable" in if ! zpool status "${pool}" | grep -q '(trimming)'; then echo " starting trim of pool '${pool}'" - zpool trim ${daily_zfs_trim_flags} "${pool}" + zpool trim ${daily_trim_zfs_flags} "${pool}" else echo " trim of pool '${pool}' already in progress, skipping" fi |
