Commit 09452715 authored by James Lopez's avatar James Lopez

fix typo

parent 95f630da
...@@ -29,7 +29,7 @@ module Gitlab ...@@ -29,7 +29,7 @@ module Gitlab
def execute(cmd) def execute(cmd)
output, status = Gitlab::Popen.popen(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? status.zero?
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment