diff --git a/Config/Automation/backup.sh b/Config/Automation/backup.sh index 73fc2ba..cf5c693 100644 --- a/Config/Automation/backup.sh +++ b/Config/Automation/backup.sh @@ -90,7 +90,7 @@ source \"${path}/venv/bin/activate\" for item in "$web_path"/*; do declare item_name=\$(basename "\$item") - if [[ "\$ignore" =~ "\$item" ]];then + if [[ "\$ignore" =~ "\item_name" ]];then continue fi cd "\$item" || exit