]> git.ipfire.org Git - thirdparty/man-pages.git/commit
unix.7: Correct example
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 27 Jun 2018 01:09:05 +0000 (03:09 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 6 Apr 2020 11:55:25 +0000 (13:55 +0200)
commit18bbb297ebc0dbfe15d80b86d14c348e31ca06d6
treeced312465af4cbb8502d6717179fac5766c1ae06
parentf4ba6a215f6d147f9733722d53dbf735b51d4e81
unix.7: Correct example

The example is misleading. It is not a good idea to unlink an
existing socket because we might try to start the server multiple
times. In this case it is preferable to receive an error.

We could add code that removes the socket when the server process
is killed but that would stretch the example too far.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/unix.7