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

multiple "not found" #16

Open
julian70400 opened this issue Sep 22, 2018 · 2 comments
Open

multiple "not found" #16

julian70400 opened this issue Sep 22, 2018 · 2 comments

Comments

@julian70400
Copy link

Hello,

Simply runnig your script and have 3 warnings :

./blcheck: 176: ./blcheck: [[: not found
./blcheck: 321: ./blcheck: shopt: not found
./blcheck: 327: ./blcheck: [[: not found
Warning: PTR record does not match supplied domain: test1.net != ns.test1.net


Results for test1.net

Tested: 117
Passed: 117
Invalid: 0
Blacklisted: 0

error 321 related to shopt binary, but I've got it in my path.

Regards

@rubix1138
Copy link
Contributor

I got the same on Ubuntu. He is using bash comparisons ( the double bracket), but the first line is calling sh. You can either fix it by running:

bash blcheck

Or editing the first line of the script to read:

#!/bin/bash

@rubix1138
Copy link
Contributor

@julian70400 - The author approved by pull request and with commit a183a69 - this is now fixed. Yay open source!

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

No branches or pull requests

2 participants