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()