Skip to content

🎧 Your Personal Streaming Service

Fix typo

Deluan7c5eec715dde
diff --git a/cmd/root.go b/cmd/root.go
index 01e926261..6700cf78a 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 602d65f83..de488cbd2 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 b9163baba..2f4c12eb6 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()