summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-07-06 11:09:07 +0200
committerJames Lopez <james@jameslopez.es>2016-07-06 11:09:07 +0200
commit09452715d341268898308d996e8a5f4ce20feb72 (patch)
tree6a7f48284e1c93783bb1d51ff83f062aa20013c7
parent95f630daeb5eec330080095786f7ac6702ebcc3f (diff)
downloadgitlab-ce-fix/project-export-error.tar.gz
-rw-r--r--lib/gitlab/import_export/command_line_util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/command_line_util.rb b/lib/gitlab/import_export/command_line_util.rb
index 3d0b23710cb..62c736451b7 100644
--- a/lib/gitlab/import_export/command_line_util.rb
+++ b/lib/gitlab/import_export/command_line_util.rb
@@ -29,7 +29,7 @@ module Gitlab
def execute(cmd)
output, status = Gitlab::Popen.popen(cmd)
- @shared.error(output.to_s) unless status_zero?
+ @shared.error(output.to_s) unless status.zero?
status.zero?
end