This commit is contained in:
James Lopez 2016-07-06 11:09:07 +02:00
parent 95f630daeb
commit 09452715d3

View file

@ -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