diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2015-03-17 06:59:49 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2015-03-17 06:59:49 +0000 |
commit | 9b2ad4876869b3888c63d328df50fa999058892e (patch) | |
tree | 76aa6045e27a97cfa5c5dfb42d0cd8b6c1ff2b99 /bin/ksh | |
parent | 091f6b2cd2e14770746b4e99cc9058679c2403e1 (diff) |
from zhuk: shell does not wait for command to complete if job run in background
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/sh.1 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1 index 2168d44fe99..8f1dc44fad9 100644 --- a/bin/ksh/sh.1 +++ b/bin/ksh/sh.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sh.1,v 1.108 2015/03/16 13:18:20 jmc Exp $ +.\" $OpenBSD: sh.1,v 1.109 2015/03/17 06:59:48 jmc Exp $ .\" .\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 16 2015 $ +.Dd $Mdocdate: March 17 2015 $ .Dt SH 1 .Os .Sh NAME @@ -1133,8 +1133,9 @@ Argument names are assigned to .Em positional parameters , with the command name itself assigned parameter 0. .It -The shell waits for the command to complete -and collects its exit status. +If the command is not being run in the background, +the shell waits for it to complete +and notes its exit status. .El .Ss Quoting Some characters have special meaning to the shell and need |