]> bicyclesonthemoon.info Git - ott/bsta/blobdiff - oldlogs.1.pl
fix oldlogs; don't save comment password to log file
[ott/bsta] / oldlogs.1.pl
index 0563fd2526b1749e1ae294eb737ca1c736fe3566..7a0959f877e664bebd9edbef5b825e7f8c31d9f8 100644 (file)
@@ -56,7 +56,7 @@ my $logs_uncompressed = ($ARGV[3] =~ /^[0-9]+$/) ? int($&) : LOGS_UNCOMPRESSED()
 
 if (opendir_encoded(my $dir, $log_path)) {
        while (my $file_name = readdir_decoded($dir)) {
-               if ($file_name !~ /\.logo$/) {
+               if ($file_name !~ /\.log$/) {
                        next;
                }
                my $full_path = join_path(PATH_SEPARATOR(), $log_path, $file_name);