Fix typo for test run handling

This commit is contained in:
Johannes Zellner
2019-04-18 16:01:16 +02:00
parent 95faccd8d9
commit aee20c0423
+1 -1
View File
@@ -22,7 +22,7 @@ volume_dir="$2"
if [[ "${BOX_ENV}" == "test" ]]; then
# be careful not to nuke some random directory when testing
[[ "${volume_dir}" != *"./cloudron_test/"* ]] && exit 1
[[ "${volume_dir}" != *"/.cloudron_test/"* ]] && exit 1
fi
if [[ -d "${volume_dir}" ]]; then