Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't Work for Freebsd Platform #310

Closed
farhancitrix opened this issue Mar 28, 2019 · 3 comments
Closed

Doesn't Work for Freebsd Platform #310

farhancitrix opened this issue Mar 28, 2019 · 3 comments
Labels
feature-request New feature request for Prowler.

Comments

@farhancitrix
Copy link

Freebsd it doesn't work. The workaround is to open the include/os_detector and modify the 16th line from
if [ "$OSTYPE" == "linux-gnu" ] || [ "$OSTYPE" == "linux-musl" ]; then

To
if [ "$OSTYPE" == "linux-gnu" ] || [ "$OSTYPE" == "linux-musl" ] || ["$OSTYPE" == "freebsd" ]; then

@toniblyx
Copy link
Member

Nice, thanks @farhancitrix, I'll add it to devel branch so far. But PR are welcome ;)

toniblyx pushed a commit that referenced this issue Apr 9, 2019
@toniblyx
Copy link
Member

toniblyx commented Apr 9, 2019

@farhancitrix I added it to devel, can you check it and let me know please?

@toniblyx toniblyx added the feature-request New feature request for Prowler. label Apr 9, 2019
@toniblyx
Copy link
Member

toniblyx commented Apr 9, 2019

I added it to devel and merged to master and I found and issue on it when running Prowler on OSX:

./include/os_detector: line 16: [darwin18.2.0: command not found

I have reverted that change. If you can tested it better also in OSX, it would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request for Prowler.
Projects
None yet
Development

No branches or pull requests

2 participants