diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-05-22 15:27:08 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-01 22:37:38 +0100 |
commit | 77eac3a8653b073670f500dbc173aee45577c032 (patch) | |
tree | e44e68685a139a1ad88b166d865b05282339f9f4 /dgit | |
parent | 6b6d2e426e5ee6b08c706d57db7502d80e00e82b (diff) |
Do not call "warn" on failure of cleanup handler in END block (since warn has been made fatal and aborts the cleanup chain).
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ END { local ($?); foreach my $f (@end) { eval { $f->(); }; - warn "$us: cleanup: $@" if length $@; + print STDERR "$us: cleanup: $@" if length $@; } }; |