Skip to content

Commit

Permalink
Improved test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreibh committed Dec 11, 2024
1 parent fc7c784 commit 4fa7cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestDB/9-uninstall-database
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if [ $# -lt 1 ] ; then
exit 1
fi

if [ "$2" != "--force-removal-without-confirmation" ] ; then
if [ $# -lt 2 ] || [ "$2" != "--force-removal-without-confirmation" ] ; then
echo -n "WARNING: THIS SCRIPT WILL ERASE THE EXISTING DATABASES. To proceed, type \"I am sure!\": "
read -er agree
if [ "$agree" != "I am sure!" ] ; then
Expand Down

0 comments on commit 4fa7cce

Please sign in to comment.