Skip to content

Conversation

@osmontero
Copy link
Member

Multiple bug fixes

Simplified the conditional logic by removing the unnecessary check for "IsDir" and specific filename "system". The command execution remains unchanged, ensuring functionality is not affected.
Introduce a reusable `RunCommand` function in `utils/os.go` for running shell commands. Refactor `rules/update.go` to use this utility, reducing redundancy and improving maintainability. Enhanced error handling by replacing `os.Exit` with `log.Fatalf` for consistent logging and better clarity.
@osmontero osmontero merged commit d28aa68 into main Feb 26, 2025
4 checks passed
@osmontero osmontero deleted the bugfix/correlation_engine/v10 branch February 26, 2025 12:17
dayat81 pushed a commit to dayat81/utmstack that referenced this pull request Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants