]> git.ipfire.org Git - people/stevee/guardian.git/blobdiff - guardian
Do not display warnings for threads anymore.
[people/stevee/guardian.git] / guardian
index f3c287b593305caf7769618a3439d33c5131cbf8..f0d890d9884950abb8f6a767449ec666d4385ff4 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";