Fix f_jobstop() failed loudly

The return value of jobstop()
@return 1 for valid job id
        0 for invalid id, including jobs have exited or stopped
This commit is contained in:
Billy Su
2020-01-20 20:06:38 +08:00
parent 270cd623ef
commit 041ec8997a
3 changed files with 16 additions and 6 deletions

View File

@@ -5502,6 +5502,9 @@ jobstop({id}) *jobstop()*
(if any) will be invoked.
See |job-control|.
Returns 1 for valid job id, 0 for invalid id, including jobs have
exited or stopped.
jobwait({jobs}[, {timeout}]) *jobwait()*
Waits for jobs and their |on_exit| handlers to complete.