--- IO-AIO/AIO.pm 2005/12/26 18:15:23 1.42 +++ IO-AIO/AIO.pm 2005/12/26 18:18:32 1.43 @@ -321,7 +321,7 @@ # if nlink == 2, we are finished # on non-posix-fs's, we rely on nlink < 2 $ndirs = (stat _)[3] - 2 - or $cb->([], $entries); + or return $cb->([], $entries); } # sort into likely dirs and likely nondirs