X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=infra%2Fdgit-repos-server;h=9705a6420a628298c5c95857042ed3c74c94d941;hp=92f197b0b001b31bc5dd11907ab7ab1c1359a00f;hb=d6be829bf56e699d27d388026d4af7ab710ba328;hpb=9141753fb5096b41074684d5bdfbb0c6f69a0c1a;ds=sidebyside diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server index 92f197b0..9705a642 100755 --- a/infra/dgit-repos-server +++ b/infra/dgit-repos-server @@ -33,7 +33,9 @@ # (With --cron AUTH-SPEC is not used and may be the empty string.) use strict; -$SIG{__WARN__} = sub { die $_[0]; }; + +use Debian::Dgit qw(:DEFAULT :policyflags); +setup_sigwarn(); # DGIT-REPOS-DIR contains: # git tree (or other object) lock (in acquisition order, outer first) @@ -189,8 +191,6 @@ use Fcntl qw(:flock); use File::Path qw(rmtree); use File::Temp qw(tempfile); -use Debian::Dgit qw(:DEFAULT :policyflags); - initdebug(''); our $func;