Don't fail if logs exists and is an empty dir

This commit is contained in:
David Baker 2020-01-03 15:16:02 +00:00
parent 23dffb69ac
commit 2970a9faaf

View file

@ -36,7 +36,8 @@ echo "--- Install synapse & other dependencies"
./install.sh
# install static webserver to server symlinked local copy of riot
./riot/install-webserver.sh
mkdir logs || rm -r logs/*
rm -r logs || true
mkdir logs
echo "+++ Running end-to-end tests"
TESTS_STARTED=1
./run.sh --no-sandbox --log-directory logs/