diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-04-28 13:06:02 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 11:54:07 +0100 |
commit | 85967df816321c56d70cbfda75994285975347d1 (patch) | |
tree | fa608e27ffb14a04f4fd630829db86ab65c796b7 /infra/dgit-repos-policy-debian | |
parent | 8c6209aa29c81ff6a02d9ab8de50b8392d0610b1 (diff) |
Turn all perl warnings into errors
Diffstat (limited to 'infra/dgit-repos-policy-debian')
-rwxr-xr-x | infra/dgit-repos-policy-debian | 2 |
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); |