Skip to content
Snippets Groups Projects
Commit 6dfd1733 authored by Thomas Müller's avatar Thomas Müller
Browse files

Don't terminate the script if the pgsql database could not be deleted

parent 11455295
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment