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
Branches
Tags
1 merge request!12F safe inttest
#!/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.
Please register or to comment