From 7e6938b1365d18d6285e362c8dcea17169121ef0 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Wed, 27 Jan 2021 18:21:55 -0700 Subject: [PATCH] fix bash --- templates/get_cert.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/get_cert.sh.j2 b/templates/get_cert.sh.j2 index cc099db..a87e9ec 100644 --- a/templates/get_cert.sh.j2 +++ b/templates/get_cert.sh.j2 @@ -6,7 +6,7 @@ {% if ipa_getcert_nss %} nss_db_path="{{ ipahosts.nss_db_dir | default(ipa_getcert_nss_default_location) }}" -if [ ! -d "${nss_db_path}" && ! -L "${nss_db_path}" ]; then +if [ ! -d "${nss_db_path}" ] && [ ! -L "${nss_db_path}" ]; then mkdir -p "${nss_db_path}" fi {% endif %}