summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-05-22 15:27:08 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-07-01 22:37:38 +0100
commit77eac3a8653b073670f500dbc173aee45577c032 (patch)
treee44e68685a139a1ad88b166d865b05282339f9f4 /dgit
parent6b6d2e426e5ee6b08c706d57db7502d80e00e82b (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-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index 91f43af..507be27 100755
--- a/dgit
+++ b/dgit
@@ -155,7 +155,7 @@ END {
local ($?);
foreach my $f (@end) {
eval { $f->(); };
- warn "$us: cleanup: $@" if length $@;
+ print STDERR "$us: cleanup: $@" if length $@;
}
};