summaryrefslogtreecommitdiff
path: root/dgit
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 /dgit
parent8c6209aa29c81ff6a02d9ab8de50b8392d0610b1 (diff)
Turn all perl warnings into errors
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgit b/dgit
index 68d8b42..1f1c425 100755
--- a/dgit
+++ b/dgit
@@ -18,6 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
use strict;
+$SIG{__WARN__} = sub { die $_[0]; };
use IO::Handle;
use Data::Dumper;