Skip to content
Snippets Groups Projects
Commit 711c8b5a authored by Alexander Kreft's avatar Alexander Kreft
Browse files

Safety message before deletion of the database

parent 86f05616
No related branches found
No related tags found
1 merge request!12F safe inttest
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
#!/bin/bash
if [ $1 != "-force" ]
then
echo "Warning: for these tests, the whole database is deleted. Do you want to proceed? (yes/exit)"
read safety
if [ $safety != "yes" ]
then
echo "Exiting..."
exit 0
fi
fi
OUT=/tmp/crawler.output
ls
cat pycaosdb.ini
......
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