Skip to content

Commit 1e6cba5

Browse files
committed
fixup: pod reason
1 parent 48b52ac commit 1e6cba5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/supervisor/cmd/init.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ var initCmd = &cobra.Command{
7979
supervisorDone := make(chan struct{})
8080
handledByReaper := make(chan int)
8181
handleSupervisorExit := func(exitCode int) {
82+
if exitCode == 0 {
83+
return
84+
}
8285
logs := extractFailureFromRun()
8386
if shared.IsExpectedShutdown(exitCode) {
8487
log.Fatal(logs)

0 commit comments

Comments
 (0)