Commit ca435533 authored by David Anderson's avatar David Anderson
Browse files

Added missing call to closedir after readdir

parent 9baacfb6
......@@ -779,6 +779,7 @@ sub init {
foreach (@dirfiles) {
&do_unlink("$linktest_path/$_");
}
closedir(DIR);
} else {
mkdir (&check_filename($linktest_path),0777) or die &fatal("Could not create directory $linktest_path");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment