Project

General

Profile

Defect #1682 ยป redmine_patch.txt

Adam Grant, 2008-08-02 00:48

 
Index: abstract_adapter.rb
===================================================================
--- abstract_adapter.rb (revision 1694)
+++ abstract_adapter.rb (working copy)
@@ -176,6 +176,9 @@
io.close_write
block.call(io) if block_given?
end
+ if $? && $?.exitstatus != 0
+ raise Errno::ENOENT, "Exit status is #{$?.exitstatus}"
+ end
rescue Errno::ENOENT => e
msg = strip_credential(e.message)
# The command failed, log it and re-raise
    (1-1/1)