]> git.ipfire.org Git - people/stevee/guardian.git/commitdiff
Do not display warnings for threads anymore.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 25 Nov 2015 13:26:28 +0000 (14:26 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 25 Nov 2015 13:26:28 +0000 (14:26 +0100)
This commit disables warnings about unjoind or running threads when
shutdown guardian.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
guardian

index f3c287b593305caf7769618a3439d33c5131cbf8..f0d890d9884950abb8f6a767449ec666d4385ff4 100644 (file)
--- a/guardian
+++ b/guardian
@@ -34,6 +34,9 @@ require Guardian::Socket;
 
 use warnings;
 
 
 use warnings;
 
+# Disable warnings of unjoinded threads when stopping guardian.
+no warnings 'threads';
+
 # Define version.
 my $version ="2.0";
 
 # Define version.
 my $version ="2.0";