From 6412858fa52f00c96d6239e28c5cba7d5d342474 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Tue, 23 Feb 2021 20:33:12 -0800 Subject: [PATCH] Added USR1 handling --- bin/cleantmp.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cleantmp.pl b/bin/cleantmp.pl index 79c567a..e0c6961 100755 --- a/bin/cleantmp.pl +++ b/bin/cleantmp.pl @@ -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, -- 2.17.1