Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9a7a2bd authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Sam Ravnborg
Browse files

checkincludes.pl: close file as soon as we're done with it

parent 7db86dc9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,11 +14,11 @@ foreach $file (@ARGV) {
		}
	}

	close(FILE);
	
	foreach $filename (keys %includedfiles) {
		if ($includedfiles{$filename} > 1) {
			print "$file: $filename is included more than once.\n";
		}
	}

	close(FILE);
}