]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r368388: bectl: simplify the tail end of the jail cmd
authorKyle Evans <kevans@FreeBSD.org>
Tue, 15 Dec 2020 21:53:54 +0000 (21:53 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Tue, 15 Dec 2020 21:53:54 +0000 (21:53 +0000)
commitca8c198afa5450fe25e6e9ab56fa195d74953baa
treeb87b7cf0c668d9dad31436109855cb190403fb99
parent21d35411c119c694f333b979334ae119852caa49
MFC r368388: bectl: simplify the tail end of the jail cmd

This has already confused me once (and I'm pretty sure I wrote it), so let's
clarify: unjailing after the command has completed will only happen if we're
interactive and -U has not been specified.

This just folds two conditionals together to make it obvious how -b/-U
interact with each other.
sbin/bectl/bectl_jail.c