summaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-12 22:41:22 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-12 22:41:22 +0200
commit6dfd1733bbdb29d1e0e57d43176b8d2d4733af94 (patch)
tree52433f92f9b2b63a24224b76fe125367d8df6a33 /autotest.sh
parent1145529584215a36bcd89348b6171bfcf7745044 (diff)
downloadnextcloud-server-6dfd1733bbdb29d1e0e57d43176b8d2d4733af94.tar.gz
nextcloud-server-6dfd1733bbdb29d1e0e57d43176b8d2d4733af94.zip
Don't terminate the script if the pgsql database could not be deleted
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh
index eb6b4888188..d6b975c62d2 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -166,7 +166,7 @@ function execute_tests {
mysql -u $DATABASEUSER -powncloud -e "DROP DATABASE $DATABASENAME"
fi
if [ "$1" == "pgsql" ] ; then
- dropdb -U $DATABASEUSER $DATABASENAME
+ dropdb -U $DATABASEUSER $DATABASENAME || true
fi
if [ "$1" == "oci" ] ; then
echo "drop the database"