Merge pull request #1327 from gregorias/nvim_git_issue
Do not forward v:shell_error on command fail.
This commit is contained in:
commit
c02d774b05
@ -97,10 +97,7 @@ if has('nvim')
|
||||
if l:id < 1
|
||||
return system(a:cmd)
|
||||
endif
|
||||
let l:ret_code = jobwait([l:id])
|
||||
if l:ret_code != [0]
|
||||
return system(a:cmd)
|
||||
endif
|
||||
call jobwait([l:id])
|
||||
return l:config.buf
|
||||
endfunction
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user