matteocorti / check_ssl_cert

A shell script (that can be used as a Nagios/Icinga plugin) to check an SSL/TLS connection.
GNU General Public License v3.0
368 stars 132 forks source link

Debugging output on STDOUT #365

Closed matteocorti closed 2 years ago

matteocorti commented 2 years ago

Describe the bug

The message

[DBG] cleaning up temporary files

is sent to STDOUT instead of STDERR

To Reproduce

$ ./check_ssl_cert --host github.com --debug >2 /dev/null
[DBG] cleaning up temporary files

Expected behavior

$ ./check_ssl_cert --host github.com --debug >2 /dev/null