diff --git a/target/bin/generate-ssl-certificate b/target/bin/generate-ssl-certificate index 00de8b30..221309b1 100755 --- a/target/bin/generate-ssl-certificate +++ b/target/bin/generate-ssl-certificate @@ -14,7 +14,7 @@ SSL_CFG_PATH="/tmp/docker-mailserver/ssl" if [[ ! -d ${SSL_CFG_PATH} ]] then - mkdir "${SSL_CFG_PATH}" + mkdir --parents "${SSL_CFG_PATH}" fi cd "${SSL_CFG_PATH}" || { echo "cd ${SSL_CFG_PATH} error" ; exit ; }