bectl_locate_jail
static int bectl_locate_jail(const char *ident);
jid = bectl_locate_jail(bootenv);
if ((jid = bectl_locate_jail(target)) == -1) {