Fix typo in comment about fsnotify behavior
Some checks are pending
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run

Correct loose (opposite of tight) to lose (opposite of keep).
This commit is contained in:
QEDeD 2026-02-27 15:02:28 +01:00 committed by nblock
parent 0f12e414a6
commit 414d3bbbd8

View file

@ -100,7 +100,7 @@ func (e *ExtraRecordsMan) Run() {
e.updateRecords()
// If a file is removed or renamed, fsnotify will loose track of it
// If a file is removed or renamed, fsnotify will lose track of it
// and not watch it. We will therefore attempt to re-add it with a backoff.
case fsnotify.Remove, fsnotify.Rename:
_, err := backoff.Retry(context.Background(), func() (struct{}, error) {