Added support for three exit status values.