Replace a command example by one that doesn't always throw an error.

This commit is contained in:
Ceri Davies 2008-02-03 21:58:28 +00:00
parent bee89619f0
commit 1b8eec7a9a
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=31443

View file

@ -530,8 +530,8 @@
is running in this tty, e.g. <command>ps -t p1</command> or whatever.
If there is not, you can just kill off the whole term easily with
<command>pkill -t p1</command>; otherwise issue a
<command>kill -HUP</command> in there by e.g.
<command>ps -t p1 | awk '{print $1}' | xargs kill -HUP</command>. Replace
<command>kill -HUP</command> in there by, for example,
<command>ps -t p1 -o pid= | xargs kill -HUP</command>. Replace
<replaceable>p1</replaceable> by whatever the tty is, of course.</para>
<para>The