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:
teastep 2007-05-12 19:30:52 +00:00
parent 13402f4da4
commit 95f4d6a006

View File

@ -58,6 +58,8 @@ sub find_macro( $ )
if ( -f $macrofile ) {
$macros{$macro} = $macrofile;
$targets{$macro} = MACRO;
} else {
0;
}
}