Skip to content

Commit d6771ec

Browse files
committed
fix
1 parent 1473e3d commit d6771ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/supervisor/cmd/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var initCmd = &cobra.Command{
8989
if shared.IsExpectedShutdown(exitCode) {
9090
log.Fatal(logs)
9191
} else {
92-
if ignoreUnexpectedExitCode.Load() && logs != "" {
92+
if ignoreUnexpectedExitCode.Load() {
9393
return
9494
}
9595
log.WithError(fmt.Errorf(logs)).Fatal("supervisor run error with unexpected exit code")

0 commit comments

Comments
 (0)