[fixes #1083] ensure the CLI exist with the correct status

oh, ok