Closed netstx closed 3 years ago
What OS / shell are you running ?
@deajan I tested on Debian 10 with the stable bash (v 5.0)
Actually, you're not using bash, but dash, which does not have certain bash options. I've commited a shell check in https://github.com/deajan/tcpping/commit/91996e3a3d830301016eb7f053de3be5c329ff5a
Feel free to test that version.
Another solution is to change the first line of the script to #!/usr/bin/env bash
.
Thanks a lot, @deajan. The line change has fixed it, I will take a look at your commit also.
I get the following when trying to run tcpping, even after making the file executable:
Any ideas on how to fix this?