]> git.puffer.fish Git - mirror/frr.git/commit
lib: close stdin/out/err in non-terminal case
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 3 Aug 2017 01:37:37 +0000 (03:37 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 3 Aug 2017 01:37:37 +0000 (03:37 +0200)
commitc9c8d0d189ce58e3dd6611a1cf6e566806f137cc
tree05b407c3d3dc8d47a185e20204766ae0abb88702
parent27e295b591bad314abe696f0bac06a83af66577c
lib: close stdin/out/err in non-terminal case

Oops, forgot this path... in the --terminal case, stdio is closed when
the user ends the terminal session, but without terminal it was left
open.

(This caused a ssh session hang in the CentOS6 CI because the file
descriptors were still open, so ssh would keep the session alive...)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/libfrr.c