create the acme-challenge subfolder correctly for the HTTP challenge

This commit is contained in:
Nicolas Roman 2019-07-11 15:24:17 +02:00
parent 27b449fd98
commit 78d0293b44
1 changed files with 1 additions and 1 deletions

View File

@ -942,7 +942,7 @@ op_managehttpchallengefile() {
if [ "$action" = "create" ]; then if [ "$action" = "create" ]; then
if [ ! -d "$folder" ]; then if [ ! -d "$folder" ]; then
mkdir "$folder" mkdir -p "$folder"
fi fi
if [ ! -f "$folder/$file" ]; then if [ ! -f "$folder/$file" ]; then
touch "$folder/$file" touch "$folder/$file"