2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 15:05:16 +00:00

[#90] The wipe_data.sh script is a bit more robust now

This commit is contained in:
Tomek Mrugalski
2021-06-09 12:34:03 +02:00
parent dd9c2fed66
commit 5c92597b31
2 changed files with 10 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ else
fi
# First argument is must be the expected schema version <major>.<minor>
# Check if it's passed at all.
if [ "$#" -lt "1" ]; then
printf "Required at least one parameter: schema version number, e.g. 7.0\n"
exit 1
fi
exp_version="$1"
shift