Jails has no concept of 'exiting with error code'.
Is your shell exits, instead ?
What is the version of the jailed userspace ? Do you use nss ?
10.3 for userspace...
Some nss...
# $FreeBSD: src/etc/nsswitch.conf,v 1.3.2.1 2011/09/23 00:51:37
kensmith Exp $
#passwd: compat
passwd: mysql [success=return notfound=continue unavail=continue
tryagain=continue] files
This smells like the issue fixed by r296416/r297673.
I'll check it out.
Thanks,
Rudy
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"