chiark / gitweb /
Dgit.pm: "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>
Sat, 16 Jun 2018 11:25:49 +0000 (12:25 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Debian/Dgit.pm
debian/changelog

index ebf9d7d..d086cbe 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 62d8eed..8d830f0 100644 (file)
@@ -1,5 +1,8 @@
 dgit (4.5~) unstable; urgency=medium
 
+  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.