Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mlwood-dev committed Sep 11, 2024
1 parent 31b61b9 commit aa9a8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/launcher/svc_config_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func checkRecoveryActions(ctx context.Context, logger *slog.Logger, service *mgr
}

// If the recovery actions are already set, we don't need to do anything
if len(curRecoveryActions) == len(recoveryActions) { // nothing to do, the flag was already set correctly
if curRecoveryActions != nil && len(curRecoveryActions) == len(recoveryActions) {
return
}

Expand Down

0 comments on commit aa9a8f4

Please sign in to comment.