Skip to content

Fix regexp import in ossec-batch-manager.pl#1913

Merged
atomicturtle merged 1 commit intoossec:masterfrom
seren:fix-batch-manager
Oct 3, 2020
Merged

Fix regexp import in ossec-batch-manager.pl#1913
atomicturtle merged 1 commit intoossec:masterfrom
seren:fix-batch-manager

Conversation

@seren
Copy link

@seren seren commented Sep 23, 2020

Hi, this fixes what appears to be a syntax error in the user-contributed file ossec-batch-manager.pl. Currently it produces the error:

Global symbol "%RE" requires explicit package name (did you forget to declare "my %RE"?) at ./ossec-batch-manager.pl line 105.
Global symbol "%RE" requires explicit package name (did you forget to declare "my %RE"?) at ./ossec-batch-manager.pl line 107.
BEGIN not safe after errors--compilation aborted at ./ossec-batch-manager.pl line 139.

Fixes #1914

@seren seren changed the title fix regexp module import syntax Fix regexp import in ossec-batch-manager.pl Sep 23, 2020
@atomicturtle atomicturtle merged commit 10f6ad8 into ossec:master Oct 3, 2020
@atomicturtle
Copy link
Member

Excellent, thanks for the commit!

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.

Ossec-batch-manager.pl exits immediately with error

2 participants