From: Ian Jackson Date: Sun, 22 Oct 2017 19:26:55 +0000 (+0100) Subject: Dgit.pm: "confess" when we die due to a warning, rather than symply dieing. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5fa55753dfb80ba52af6740f35bf42496a608435;p=dgit.git Dgit.pm: "confess" when we die due to a warning, rather than symply dieing. Signed-off-by: Ian Jackson --- diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index ebf9d7db..d086cbe5 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -108,7 +108,7 @@ sub forkcheck_mainprocess () { sub setup_sigwarn () { forkcheck_setup(); $SIG{__WARN__} = sub { - die $_[0] if forkcheck_mainprocess; + confess $_[0] if forkcheck_mainprocess; }; } diff --git a/debian/changelog b/debian/changelog index 79b6d3c7..edda1b73 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ dgit (4.4~) unstable; urgency=low + Minor fixes: + * "confess" when we die due to a warning, rather than symply dieing. + Internal changes: * Move $playground global to dgit. * Break git_get_symref out into Dgit.pm.