swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 6d8f36c22ff7dbeac1e114545a3f4655c486c132
parent f380adac3b0ae5253016e7fbeee8dd3b81dff304
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 16 Nov 2018 00:08:40 -0800

launch: Close client end of socket after spawn

Diffstat:
Mlaunch/launch.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/launch/launch.c b/launch/launch.c @@ -473,6 +473,7 @@ main(int argc, char *argv[]) die("posix_spawnp %s:", argv[optind]); posix_spawnattr_destroy(&attr); + close(sock[1]); run(sock[0]); return EXIT_SUCCESS;