From 6dfd1733bbdb29d1e0e57d43176b8d2d4733af94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Fri, 12 Sep 2014 22:41:22 +0200
Subject: [PATCH] Don't terminate the script if the pgsql database could not be
 deleted

---
 autotest.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autotest.sh b/autotest.sh
index eb6b488818..d6b975c62d 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"
-- 
GitLab