forked from extern/shorewall_code
Be sure that find_macro() returns a defined value
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6333 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
13402f4da4
commit
95f4d6a006
@ -58,6 +58,8 @@ sub find_macro( $ )
|
|||||||
if ( -f $macrofile ) {
|
if ( -f $macrofile ) {
|
||||||
$macros{$macro} = $macrofile;
|
$macros{$macro} = $macrofile;
|
||||||
$targets{$macro} = MACRO;
|
$targets{$macro} = MACRO;
|
||||||
|
} else {
|
||||||
|
0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user