* master_cleanup() now passes along an exit code from its caller to the OS.