Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
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;
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.