/bin/sh on solaris swallows the failure code, so exec this directly.