Skip to content

Commit 14a4828

Browse files
committed
Update lib.rb
1 parent 12dd8aa commit 14a4828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def command(cmd, opts = [], chdir = true, redirect = '', &block)
711711
@logger.debug(out)
712712
end
713713

714-
if $?.exitstatus > 0
714+
if $?.exitstatus.to_i > 0
715715
if $?.exitstatus == 1 && out == ''
716716
return ''
717717
end

0 commit comments

Comments
 (0)