From 44037b9217fe74c2c4d7651ca347745f85933f6a Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 26 Jan 2022 12:27:00 +0100 Subject: [COMMON] Fix typo in import-custom-certs.sh It resulted in an error at runtime: /root/import-custom-certs.sh: line 30: syntax error: unexpected "then" Issue existed since change Ie9b5ac1c2edd9ddf3574f09c77ca8734f2311d1d Change-Id: I8b9f771eaccc9f1cdbd45159f2199b33c9b5d826 Issue-ID: OOM-2919 Signed-off-by: Bartek Grzybowski --- kubernetes/common/cert-wrapper/resources/import-custom-certs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/common/cert-wrapper/resources') diff --git a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh index fa3de03ece..96b0c0c0c8 100755 --- a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh +++ b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh @@ -41,7 +41,7 @@ for f in $CERTS_DIR/*; do if echo $f | grep '\.sh$' >/dev/null; then continue fi - if echo $f | grep '\.b64$' >/dev/null; then + if echo $f | grep '\.b64$' >/dev/null then base64 -d $f > $WORK_DIR/`basename $f .b64` else @@ -87,4 +87,4 @@ if [ $? != 0 ] exit 1 else cp /etc/ssl/certs/ca-certificates.crt $WORK_DIR/. -fi \ No newline at end of file +fi -- cgit 1.2.3-korg