Skip to content

Commit

Permalink
fix: handle 127 error code for podman compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vchandela committed Sep 12, 2024
1 parent b60497e commit 18cc4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wait/host_port.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func internalCheck(ctx context.Context, internalPort nat.Port, target StrategyTa

if exitCode == 0 {
break
} else if exitCode == 126 {
} else if exitCode == 126 || exitCode == 127 {
return errShellNotExecutable
}
}
Expand Down

0 comments on commit 18cc4bc

Please sign in to comment.