Commit 54b8a4bc authored by Francis Dupont's avatar Francis Dupont
Browse files

[466-kea-admin-lease-options-to-be-renamed-to-db] Called usage on invalid command

parent dca13339
...@@ -557,6 +557,7 @@ fi ...@@ -557,6 +557,7 @@ fi
is_in_list "${command}" "db-init db-version db-upgrade lease-dump" is_in_list "${command}" "db-init db-version db-upgrade lease-dump"
if [ ${_inlist} -eq 0 ]; then if [ ${_inlist} -eq 0 ]; then
log_error "invalid command: ${command}" log_error "invalid command: ${command}"
usage
exit 1 exit 1
fi fi
shift shift
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment