jail: correctly check for null pointer
authorPhilipp Meier <philipp.meier@westermo.com>
Tue, 8 Nov 2022 13:38:37 +0000 (14:38 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 10 Nov 2022 20:17:00 +0000 (20:17 +0000)
commit24f6bc4322754a753e4e3e413659d542fa798c7b
treef2ac745b084ae6ae46e79d20ca28459b83275290
parentaa44624b30c80ba56125447ca5b9374180f092b3
jail: correctly check for null pointer

Handle case where opts.sysctl is not used.

Signed-off-by: Philipp Meier <philipp.meier@westermo.com>
jail/jail.c