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 f3c287b..f0d890d 100644 (file)
--- a/guardian
+++ b/guardian
@@ -34,6 +34,9 @@ require Guardian::Socket;
 
 use warnings;
 
+# Disable warnings of unjoinded threads when stopping guardian.
+no warnings 'threads';
+
 # Define version.
 my $version ="2.0";