2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

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

This commit is contained in:
Francis Dupont
2019-06-28 19:34:09 +02:00
parent dca13339a4
commit 54b8a4bcc8

View File

@@ -557,6 +557,7 @@ fi
is_in_list "${command}" "db-init db-version db-upgrade lease-dump"
if [ ${_inlist} -eq 0 ]; then
log_error "invalid command: ${command}"
usage
exit 1
fi
shift