Fix bug with vim exit status