Closed psumbera closed 1 month ago
Thank you for the bugfix! I guess it was not noticed by others, as the script is called by another and the terminal is then not set. The suggested change is made to the code repository, fixed typo in issue title.
I stumbled into this myself, glad to see it fixed.
I suspect this is a change in behavior between OpenSSL >= 3. OpenSSL >= 3 will exit fast when just executed with the help text. However, in OpenSSL 1.1.1 it enters an interactive shell.
Changing:
if ! openssl >/dev/null 2>&1; then
toif ! openssl </dev/null >/dev/null 2>&1; then
resolves the issue.Tested on Solaris.