aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 683d44a245..89aaab4c4e 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -12487,7 +12487,7 @@ static void f_jobwait(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
// if the job already exited, but wasn't freed yet
- if (jobs[i] == NULL || jobs[i]->stream.proc.status >= 0) {
+ if (jobs[i] == NULL) {
continue;
}