diff --git a/scripts/web-add.sh b/scripts/web-add.sh index 2c9c9e6..43f4437 100755 --- a/scripts/web-add.sh +++ b/scripts/web-add.sh @@ -942,7 +942,7 @@ op_managehttpchallengefile() { if [ "$action" = "create" ]; then if [ ! -d "$folder" ]; then - mkdir "$folder" + mkdir -p "$folder" fi if [ ! -f "$folder/$file" ]; then touch "$folder/$file"