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 ebf9d7db0dfcbc5e4838ad9bf6ccbe1cf7f5ccaa..d086cbe50d36d33e14cea82de5f00b8b367d569a 100644 (file)
@@ -108,7 +108,7 @@ sub forkcheck_mainprocess () {
 sub setup_sigwarn () {
     forkcheck_setup();
     $SIG{__WARN__} = sub { 
 sub setup_sigwarn () {
     forkcheck_setup();
     $SIG{__WARN__} = sub { 
-       die $_[0] if forkcheck_mainprocess;
+       confess $_[0] if forkcheck_mainprocess;
     };
 }
 
     };
 }
 
index 62d8eedede0318d623e2785483a9f53cfd56d561..8d830f0353d8ea704b007069d009c0569ce92cea 100644 (file)
@@ -1,5 +1,8 @@
 dgit (4.5~) unstable; urgency=medium
 
 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.
   Internal changes:
   * Move $playground global to dgit.
   * Break git_get_symref out into Dgit.pm.