Commit ebd14ccf authored by Karl Kornel's avatar Karl Kornel
Browse files

Use while loop, not foreach

parent 691f5bbc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ The error message we received is: $!
EOL
		exit 1;
	};
	foreach (my $candidate_runfolder = readdir($searchfolder_handle)) {
	while (my $candidate_runfolder = readdir($searchfolder_handle)) {
		log_msg("Found candidate $candidate_runfolder\n");

		# Skip dot files