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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user