Set the process exit status after finishing the 'status' subcommand

This is necessary in order for other scripts to know that the status was nominal or troubled, since there is console output in either case.