]> Sergey Matveev's repositories - swg.git/commitdiff
Fix loss after non-existing links
authorSergey Matveev <stargrave@stargrave.org>
Sun, 1 Jun 2025 12:51:01 +0000 (15:51 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 1 Jun 2025 12:53:28 +0000 (15:53 +0300)
swg

diff --git a/swg b/swg
index dca444f146979e0f68ba5f1bd313cb4e1d4267f4..9e6dab29dfda39c90d096082e2fb50e5ac512f8f 100755 (executable)
--- a/swg
+++ b/swg
@@ -129,14 +129,14 @@ for my $pth (keys %Mtimes) {
                     if (exists $ENV{SWG_PRINT_MISSING}) {
                         print "missing $w\n";
                     }
-                    return;
+                    next;
                 }
             } else {
                 if (not exists $Mtimes{$w}) {
                     if (exists $ENV{SWG_PRINT_MISSING}) {
                         print "missing $w\n";
                     }
-                    return;
+                    next;
                 }
             }
             $found{$w} = 1;