]> granicus.if.org Git - pgbadger/commitdiff
Remove some commented code.
authorGilles Darold <gilles@darold.net>
Sat, 14 Sep 2019 10:29:12 +0000 (12:29 +0200)
committerGilles Darold <gilles@darold.net>
Sat, 14 Sep 2019 10:29:12 +0000 (12:29 +0200)
pgbadger

index 4504cc6d39ae1edda5c904245973fcbe8f411d18..103a800114709b5dfdbe6756a2ec84ab6abb9507 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -403,12 +403,9 @@ sub wait_child
        $interrupt = 2;
 
        print STDERR "Received terminating signal ($sig).\n";
-       #       if ($^O !~ /MSWin32|dos/i)
-       #{
-               1 while wait != -1;
-               $SIG{INT} = \&wait_child;
-               $SIG{TERM} = \&wait_child;
-               #}
+       1 while wait != -1;
+       $SIG{INT} = \&wait_child;
+       $SIG{TERM} = \&wait_child;
        foreach my $f (@tempfiles)
        {
                unlink("$f->[1]") if (-e "$f->[1]");