chiark / gitweb /
Dgit: "confess" when we die due to a warning, rather than symply dieing.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 22 Oct 2017 19:26:55 +0000 (20:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Jan 2018 18:06:44 +0000 (18:06 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Debian/Dgit.pm
debian/changelog

index ebf9d7db0dfcbc5e4838ad9bf6ccbe1cf7f5ccaa..d086cbe50d36d33e14cea82de5f00b8b367d569a 100644 (file)
@@ -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;
     };
 }
 
index 6a2785ed8e5474d97a359a1f98e152f79fafcf2b..055881c81fa362556ccbf91204a619091a00d15a 100644 (file)
@@ -4,6 +4,9 @@ dgit (4.3~) unstable; urgency=medium
   * dgit archive-api-query: Avoid crashing due to lack of $isuite.
     This breaks the infrastructure.  Closes:#886592.
 
+  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.