Detect missing target in merge_levels()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-12-05 07:51:21 -08:00
parent c61c9ba7eb
commit 25c53f5a60

View File

@ -1129,6 +1129,8 @@ sub merge_levels ($$) {
my $target = $subparts[0];
fatal_error "Missing ACTION" unless supplied $target;
push @subparts, '' while @subparts < 3; #Avoid undefined values
my $sublevel = $subparts[1];