Handle exit code of resources subcommand.