kdave / btrfsmaintenance

Scripts for btrfs maintenance tasks like periodic scrub, balance, trim or defrag on selected mountpoints or directories.
GNU General Public License v2.0
897 stars 79 forks source link

Fix missing `then` in script #121

Closed lordofpipes closed 1 month ago

lordofpipes commented 2 months ago

There is a syntax error that causes a line in the btrfsmaintenance-functions to crash under certain circumstances. See #120 for more details. This fixes it by adding in a ; then after the line.

Edit: #119

amartinz commented 2 months ago

FYI: https://github.com/kdave/btrfsmaintenance/pull/119

kdave commented 1 month ago

Released in 0.5.2, thanks.