diff options
author | James Lopez <james@jameslopez.es> | 2016-07-06 10:29:31 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-07-06 10:29:31 +0200 |
commit | 95f630daeb5eec330080095786f7ac6702ebcc3f (patch) | |
tree | eb9421a5aa1701911c68fccc3ac2dbdba673b7a1 /lib/gitlab/import_export/command_line_util.rb | |
parent | 4a62a11f20dc109b0976b76a8f8e6d0b2ab35353 (diff) | |
download | gitlab-ce-95f630daeb5eec330080095786f7ac6702ebcc3f.tar.gz |
even more debug
Diffstat (limited to 'lib/gitlab/import_export/command_line_util.rb')
-rw-r--r-- | lib/gitlab/import_export/command_line_util.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/command_line_util.rb b/lib/gitlab/import_export/command_line_util.rb index 78664f076eb..3d0b23710cb 100644 --- a/lib/gitlab/import_export/command_line_util.rb +++ b/lib/gitlab/import_export/command_line_util.rb @@ -28,7 +28,8 @@ module Gitlab end def execute(cmd) - _output, status = Gitlab::Popen.popen(cmd) + output, status = Gitlab::Popen.popen(cmd) + @shared.error(output.to_s) unless status_zero? status.zero? end |