From 7c5eec715ddeab36f3b5dc4a0d4db5beebffe9a0 Mon Sep 17 00:00:00 2001 From: Deluan Date: Wed, 1 May 2024 23:09:04 -0400 Subject: [PATCH] Fix typo --- cmd/root.go | 2 +- cmd/signaller_nounix.go | 2 +- cmd/signaller_unix.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 01e92626117..6700cf78a52 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -82,7 +82,7 @@ func runNavidrome() { g, ctx := errgroup.WithContext(ctx) g.Go(startServer(ctx)) - g.Go(startSignaler(ctx)) + g.Go(startSignaller(ctx)) g.Go(startScheduler(ctx)) g.Go(schedulePeriodicScan(ctx)) diff --git a/cmd/signaller_nounix.go b/cmd/signaller_nounix.go index 602d65f83b1..de488cbd261 100644 --- a/cmd/signaller_nounix.go +++ b/cmd/signaller_nounix.go @@ -7,7 +7,7 @@ import ( ) // Windows and Plan9 don't support SIGUSR1, so we don't need to start a signaler -func startSignaler(ctx context.Context) func() error { +func startSignaller(ctx context.Context) func() error { return func() error { return nil } diff --git a/cmd/signaller_unix.go b/cmd/signaller_unix.go index b9163baba70..2f4c12eb648 100644 --- a/cmd/signaller_unix.go +++ b/cmd/signaller_unix.go @@ -14,7 +14,7 @@ import ( const triggerScanSignal = syscall.SIGUSR1 -func startSignaler(ctx context.Context) func() error { +func startSignaller(ctx context.Context) func() error { log.Info(ctx, "Starting signaler") scanner := GetScanner()