mirror of
https://github.com/containers/podman.git
synced 2025-12-16 03:57:36 +08:00
add OCI Runtime name to errors
It would be easier to diagnose OCI runtime errors if the error actually had the name of the OCI runtime that produced the error. [NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -14,8 +14,8 @@ load helpers
|
||||
# ...but check the configured runtime engine, and switch to crun as needed
|
||||
run_podman info --format '{{ .Host.OCIRuntime.Path }}'
|
||||
if expr "$output" : ".*/crun"; then
|
||||
err_no_such_cmd="Error: executable file.* not found in \$PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found"
|
||||
err_no_exec_dir="Error: open executable: Operation not permitted: OCI permission denied"
|
||||
err_no_such_cmd="Error:.*executable file.* not found in \$PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found"
|
||||
err_no_exec_dir="Error:.*open executable: Operation not permitted: OCI permission denied"
|
||||
fi
|
||||
|
||||
tests="
|
||||
|
||||
Reference in New Issue
Block a user