Added USR1 handling
authorAndrew DeFaria <Andrew@DeFaria.com>
Wed, 24 Feb 2021 04:33:12 +0000 (20:33 -0800)
committerAndrew DeFaria <Andrew@DeFaria.com>
Wed, 24 Feb 2021 04:33:12 +0000 (20:33 -0800)
bin/cleantmp.pl

index 79c567a..e0c6961 100755 (executable)
@@ -144,7 +144,6 @@ sub FileCreated {
           } # if
         } # if
 
-
         last;
       } # if
     } # for
@@ -153,6 +152,8 @@ sub FileCreated {
   return;
 } # FileCreated
 
+$SIG{USR1} = \&FileCreated;
+
 ## Main
 GetOptions (
   \%opts,