]> source.dussan.org Git - nextcloud-server.git/commitdiff
Don't terminate the script if the pgsql database could not be deleted
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 12 Sep 2014 20:41:22 +0000 (22:41 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 12 Sep 2014 20:41:22 +0000 (22:41 +0200)
autotest.sh

index eb6b48881887555acf5af57c845135da9e00c522..d6b975c62d23de067eb578ac6758cce6f863700a 100755 (executable)
@@ -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"