mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 12:20:42 +01:00
Fix single-line embedded Perl
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ee467a4877
commit
654f7dd805
@ -2104,6 +2104,8 @@ sub embedded_perl( $ ) {
|
||||
|
||||
fatal_error ( "Missing END PERL" ) unless $last;
|
||||
fatal_error ( "Invalid END PERL directive" ) unless $currentline =~ /^\s*$/;
|
||||
} else {
|
||||
$currentline = '';
|
||||
}
|
||||
|
||||
$embedded++;
|
||||
|
Loading…
Reference in New Issue
Block a user