Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Jan 24, 2024
1 parent 3f50306 commit 9f3bedb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/library/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ func (p *program) retryableRun() {
result = `failed`
}
p.logger.Infof("Process execution result: %s", result)
if err != nil {
os.Exit(p.cmd.ProcessState.ExitCode())
}
}
p.close()
}()
Expand Down

0 comments on commit 9f3bedb

Please sign in to comment.