Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
scripts: Add extra hypervisor config script option check
Browse files Browse the repository at this point in the history
Add a check on the element (configure option).

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
  • Loading branch information
jodh-intel committed Apr 3, 2018
1 parent 94f4061 commit c823a06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/configure-hypervisor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,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" ]
Expand Down

0 comments on commit c823a06

Please sign in to comment.