Skip to content

Commit

Permalink
exit on error
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Schendel <[email protected]>
  • Loading branch information
amitschendel committed Feb 13, 2025
1 parent 0ca7305 commit 58d007e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func main() {
} else {
if err := rlimit.RemoveMemlock(); err != nil {
logger.L().Ctx(ctx).Error("error removing memlock limit", helpers.Error(err))
return
os.Exit(utils.ExitCodeError)
}
}

Expand Down

0 comments on commit 58d007e

Please sign in to comment.