forked from extern/shorewall_code
Fix undefined variable warning
This commit is contained in:
parent
9ef0dcb221
commit
5297bb8b8d
@ -689,10 +689,9 @@ sub cleanup() {
|
||||
#
|
||||
# Unlink temporary files
|
||||
#
|
||||
unlink $tempfile, $tempfile = undef if $tempfile;
|
||||
unlink $scriptfilename, $scriptfilename = undef if $scriptfilename;
|
||||
unlink $_ for @tempfiles;
|
||||
@tempfiles = ();
|
||||
unlink ( $tempfile ), $tempfile = undef if $tempfile;
|
||||
unlink ( $scriptfilename ), $scriptfilename = undef if $scriptfilename;
|
||||
unlink ( @tempfiles ), @tempfiles = () if @tempfiles;
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user