diff --git a/pkg/cmd/apply/apply.go b/pkg/cmd/apply/apply.go index fafde1a6..8db1049d 100644 --- a/pkg/cmd/apply/apply.go +++ b/pkg/cmd/apply/apply.go @@ -823,7 +823,7 @@ func prompt(ui *terminal.UI) (string, error) { WithDefaultOption("details"). // To gracefully exit if interrupted by SIGINT or SIGTERM. WithOnInterruptFunc(func() { - release.UpdateReleasePhase(rel, apiv1.ReleasePhaseSucceeded, relLock) + release.UpdateReleasePhase(rel, apiv1.ReleasePhaseFailed, relLock) release.UpdateApplyRelease(storage, rel, false, relLock) os.Exit(1) }).