summaryrefslogtreecommitdiff
path: root/infra/dgit-repos-policy-debian
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-04-28 13:06:02 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 11:54:07 +0100
commit85967df816321c56d70cbfda75994285975347d1 (patch)
treefa608e27ffb14a04f4fd630829db86ab65c796b7 /infra/dgit-repos-policy-debian
parent8c6209aa29c81ff6a02d9ab8de50b8392d0610b1 (diff)
Turn all perl warnings into errors
Diffstat (limited to 'infra/dgit-repos-policy-debian')
-rwxr-xr-xinfra/dgit-repos-policy-debian2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian
index 526db03..88eb4fc 100755
--- a/infra/dgit-repos-policy-debian
+++ b/infra/dgit-repos-policy-debian
@@ -2,6 +2,8 @@
# dgit repos policy hook script for Debian
use strict;
+$SIG{__WARN__} = sub { die $_[0]; };
+
use POSIX;
use JSON;
use File::Temp qw(tempfile);