mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01:00
pwait.1: add missing prompt and command in examples
Two examples showed '$?' alone on a line, which should be '$ echo $?'. The third example got it right. Fix the first two.
This commit is contained in:
parent
3faba3002f
commit
1a7c9e1585
@ -97,7 +97,7 @@ $ sleep 30 & sleep 3600 &
|
||||
[1] 1646
|
||||
[2] 1647
|
||||
$ pwait -o -t5 1646 1647
|
||||
$?
|
||||
$ echo $?
|
||||
124
|
||||
.Ed
|
||||
.Pp
|
||||
@ -111,7 +111,7 @@ $ sleep 30 & sleep 3600 &
|
||||
[2] 1653
|
||||
$ pwait -v -t 5 1652 1653
|
||||
timeout
|
||||
$?
|
||||
$ echo $?
|
||||
124
|
||||
.Ed
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user