Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make-certs: Handle missing OpenSSL installation
If there is no OpenSSL installation on the system, where the `make-certs` script is run at, no error message will be shown; instead the script will fail silently and no certificates will be generated. This change introduces a simple check, if the `openssl` binary is present and informs the user, if it's missing, shortening debugging time from minutes to mere seconds. A bashism has been used so a pretty message gets printed without moving the check to a section before `set -e`. Signed-off-by: Kamil Aronowski <[email protected]>
- Loading branch information