Skip to content

Remove path for the ipset executable to make it work on non-redhat based distribution - #1

Open
cible wants to merge 9 commits into
thias:masterfrom
cible:master
Open

cible wants to merge 9 commits into
thias:masterfrom
cible:master

Conversation

@cible

@cible cible commented Aug 19, 2014

Copy link
Copy Markdown

On ubuntu based system, ipset is located in /sbin instead of /usr/sbin.

@thias

thias commented Sep 9, 2014

Copy link
Copy Markdown
Owner

I had no idea anyone was using this hack of a module :-)

Your change for the path looks good, but the other where you remove the '.+' doesn't : Changing from ' .+ ' to plain ' ' will break. Changing from ' .+ ' to ' .*' probably wouldn't, but it would be less restrictive than the initial regexp. Can you show me some of the lines that didn't match properly for you?

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.

5 participants