summaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
authorKamil Aronowski <kamil.aronowski@yahoo.com>2023-08-01 15:01:34 +0200
committerPeter Jones <pjones@redhat.com>2024-11-12 17:08:00 -0500
commite68f4caade95faa9949d91751f4660c738ea52ac (patch)
tree4b86b4da95cc867545c7e8ebce416a26d99dc31d /fallback.c
parente064e7d2bfd834282f41ff9623d48abb1d1ae021 (diff)
downloadefi-boot-shim-e68f4caade95faa9949d91751f4660c738ea52ac.tar.gz
efi-boot-shim-e68f4caade95faa9949d91751f4660c738ea52ac.zip
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 <kamil.aronowski@yahoo.com>
Diffstat (limited to 'fallback.c')
0 files changed, 0 insertions, 0 deletions