]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't close fd if it's lower then stderr, otherwise we can close
authoroshogbo <oshogbo@FreeBSD.org>
Mon, 13 Jun 2016 00:03:55 +0000 (00:03 +0000)
committeroshogbo <oshogbo@FreeBSD.org>
Mon, 13 Jun 2016 00:03:55 +0000 (00:03 +0000)
commit891559e499c0d2d1d6203ec3540ff759160338f3
tree92cd95db81c19ce14bd185dd5f3704ccf8c0acc9
parent9cb15c34bcff3f1c452cc9e50533537e1c1760d4
Don't close fd if it's lower then stderr, otherwise we can close
one of the descriptor which we just set.

Pointed out by: jilles
Approved by: re (hrs)
lib/libcasper/libcasper/service.c