jail: check return value when opening console
authorDaniel Golle <daniel@makrotopia.org>
Mon, 23 Aug 2021 16:47:23 +0000 (17:47 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 24 Aug 2021 17:31:35 +0000 (18:31 +0100)
commit3edb7ebecb266db545fe2e79ef552a9b09beaa6f
tree2969fc4b0bd91204e1c87f41b0a35006420f7dd0
parent0603c8d5b0039d28ba1ac6ce64a6a5814aa0bf24
jail: check return value when opening console

Coverity CID: 1490048 Argument cannot be negative

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c