diff options
author | Byron Jones <bjones@mozilla.com> | 2013-02-07 08:02:20 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-02-07 08:02:20 +0100 |
commit | 4d295ae996aa2b46dee2b66a3ba1270345cacd3d (patch) | |
tree | 018dbf108b2d721fff1961d568b925176da479f8 /Bugzilla | |
parent | a8a6d1bf445b419f853fbdd8f89899e01f99230a (diff) | |
download | bugzilla-4d295ae996aa2b46dee2b66a3ba1270345cacd3d.tar.gz bugzilla-4d295ae996aa2b46dee2b66a3ba1270345cacd3d.tar.xz |
Bug 784352: show a warning when interdiff reports errors
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Attachment/PatchReader.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm index 800de0722..b766a9071 100644 --- a/Bugzilla/Attachment/PatchReader.pm +++ b/Bugzilla/Attachment/PatchReader.pm @@ -122,7 +122,8 @@ sub process_interdiff { # Check for errors { local $/ = undef; - if (defined(my $error = <$interdiff_stderr>)) { + my $error = <$interdiff_stderr>; + if ($error) { warn($error); $warning = 'interdiff3'; } |