# In a CI job, 'flux diff kustomization' exits with status 1. What does that mean?

Flux CD, Hard (Expert), Testing. https://k8wiz.com/uquiz/in-a-ci-job-flux-diff-kustomization-exits-with-status-1-what-does-that-mean

- A. It couldn't reach the cluster, so the diff failed
- B. The local manifests failed Kustomize validation
- C. It found differences between the local manifests and the cluster
- D. It found no differences, so there is nothing left for Flux to apply

**Answer:** It found differences between the local manifests and the cluster

**Explanation:** flux diff exits with 0 when there are no differences, 1 when it finds some, and above 1 when the diff itself fails. A CI step that fails on any non-zero exit will fail on every pull request that changes something, so treat only codes above 1 as errors.
