Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed May 2, 2024
1 parent a4c2232 commit 7c5eec7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
2 changes: 1 addition & 1 deletion cmd/signaller_nounix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/signaller_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 7c5eec7

Please sign in to comment.