croc --help hangs with broken dns
gandalf3 opened this issue · 0 comments
gandalf3 commented
Describe the bug
croc seems to attempt to resolve a name lookup during croc --help and croc --version
To Reproduce
Steps to reproduce the behavior:
- break your dns in some way (guessing at this part; running lsof on croc shows it has libnss_resolve.so open and not much else)
- run croc --help
- wait for name resolution to time out
- enjoy the help text :]
Expected behaviour
croc should just print the help message and exit
Version
v10.0.8
Additional context
in my case im on a lan without internet access; im assuming crock is hanging due to dns for the aforementioned reason, but it could be something else..