diff --git a/integrationtests/test.sh b/integrationtests/test.sh
index a56b758421a059a0cc3461c08600c13ffd93705c..b78584158bed95bbe10bf853d52b6dd007e781f5 100755
--- a/integrationtests/test.sh
+++ b/integrationtests/test.sh
@@ -20,10 +20,12 @@ echo "Testing the crawler database"
 python3 -m pytest test_crawler_with_cfoods.py
 echo "make a change"
 pushd extroot
+set +e
 egrep -liRZ 'A description of another example' . | xargs -0 -l sed -i -e 's/A description of another example/A description of this example/g'
 # remove a file to check that this does not lead to a crawler crash
 mv DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx_back
 popd
+set -e
 echo "run crawler"
 ./crawl.py  / | tee $OUT
 # rename the moved file