scripts: Add extra hypervisor config script option check

Add a check on the element (configure option).

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt
2018-04-03 10:19:54 +01:00
parent 491780d6c2
commit 90ce6d888a

View File

@@ -153,6 +153,8 @@ show_array()
tags=$(echo "$entry"|cut -s -d: -f1)
elem=$(echo "$entry"|cut -s -d: -f2-)
[ -z "$elem" ] && die "no option for entry '$entry'"
check_tags "$tags" "$entry"
if [ "$action" = "dump" ]