create the acme-challenge subfolder correctly for the HTTP challenge
This commit is contained in:
parent
27b449fd98
commit
78d0293b44
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue