Skip to content

Commit

Permalink
internal/ocrunner: return when writing PID file fails
Browse files Browse the repository at this point in the history
Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com>
  • Loading branch information
hwipl committed May 23, 2024
1 parent e560eea commit 2669a7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ocrunner/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ func (c *Connect) savePidFile() {
err = osWriteFile(c.config.PIDFile, []byte(pid), os.FileMode(perm))
if err != nil {
log.WithError(err).Error("OC-Runner writing pid error")
return
}

// set owner and group
Expand Down

0 comments on commit 2669a7f

Please sign in to comment.