mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-06 12:59:45 +01:00
Detect missing target in merge_levels()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c61c9ba7eb
commit
25c53f5a60
@ -1129,6 +1129,8 @@ sub merge_levels ($$) {
|
|||||||
|
|
||||||
my $target = $subparts[0];
|
my $target = $subparts[0];
|
||||||
|
|
||||||
|
fatal_error "Missing ACTION" unless supplied $target;
|
||||||
|
|
||||||
push @subparts, '' while @subparts < 3; #Avoid undefined values
|
push @subparts, '' while @subparts < 3; #Avoid undefined values
|
||||||
|
|
||||||
my $sublevel = $subparts[1];
|
my $sublevel = $subparts[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user