Skip to content

Commit

Permalink
dex: fix internal error exit
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Nov 3, 2024
1 parent bd386ff commit 336e2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func Main() int {
w, err := config.NewWatcher(ctx, cfgdir, changes, -1, log)
if err != nil {
mlog.LogAttrs(ctx, slog.LevelError, err.Error())
os.Exit(internalError)
return internalError
}
go w.Watch(ctx)

Expand Down

0 comments on commit 336e2d6

Please sign in to comment.