diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-03-09 13:07:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 13:07:20 -0400 |
commit | d2764e93df580755fe1b3a1befb79eeff75c4bc4 (patch) | |
tree | 55d76cb8b46031646d13ec4c64750e7d1b34f395 /libpod/define | |
parent | 342d99fbc2a990dcd4c122b45a8bb1a14059a338 (diff) | |
parent | 521ff14d83e387f39058c65361a68d83edae61ba (diff) | |
download | podman-d2764e93df580755fe1b3a1befb79eeff75c4bc4.tar.gz podman-d2764e93df580755fe1b3a1befb79eeff75c4bc4.tar.bz2 podman-d2764e93df580755fe1b3a1befb79eeff75c4bc4.zip |
Merge pull request #5429 from mheon/revert_exec_changes
Revert exec changes
Diffstat (limited to 'libpod/define')
-rw-r--r-- | libpod/define/exec_codes.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libpod/define/exec_codes.go b/libpod/define/exec_codes.go index c2ec08666..f94616b33 100644 --- a/libpod/define/exec_codes.go +++ b/libpod/define/exec_codes.go @@ -1,7 +1,6 @@ package define import ( - "math" "strings" "github.com/pkg/errors" @@ -18,11 +17,6 @@ const ( ExecErrorCodeCannotInvoke = 126 // ExecErrorCodeNotFound is the error code to return when a command cannot be found ExecErrorCodeNotFound = 127 - // ErrorConmonRead is a bogus value that can neither be a valid PID or exit code. It is - // used because conmon will send a negative value when sending a PID back over a pipe FD - // to signify something went wrong in the runtime. We need to differentiate between that - // value and a failure on the podman side of reading that value. Thus, we use ErrorConmonRead - ErrorConmonRead = math.MinInt32 - 1 ) // TranslateExecErrorToExitCode takes an error and checks whether it |