From deff26576fab8b6e3f22b4dbdb63fdfa759fa8e3 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 18:09:58 +0200 Subject: [PATCH] x509/1 --- spcd/bootstrap.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 6acf9a6..c5d4c86 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -257,10 +257,9 @@ spcd_git_url() { # ╰───────────┴─────────╯ spcd_openssl_x509() { - spcd_openssl_x509__file="${1}" - if [ -f "${spcd_openssl_x509__file}" ]; then + if [ -f "${1}" ]; then openssl x509 \ - -in "${spcd_openssl_x509__file}" \ + -in "${1}" \ -noout -text fi }