automation-tests/cmd/podman/system
Paul Holzinger d2e10a71d6
podman unshare keep exit code
In case the command inside the podman unshare env failed podman unshare
always exits with 125 and prints `Error: exit status 125`. This is a
bad user experience and makes it difficult to use in scripts which could
expect certain exit codes.
This commit makes sure podman unshare uses the same exit code as the
command and does not print the useless `exit status X` message.

Also to match podman run/exec it should return 126 for EPERM
and 127 for ENOENT.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-09-10 15:30:25 +02:00
..
connection Created scp.go image_scp_test.go and podman-image-scp.1.md 2021-07-30 17:19:24 -04:00
connection.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
df.go Scrub podman commands to use report package 2021-06-16 16:53:48 -07:00
events.go Scrub podman commands to use report package 2021-06-16 16:53:48 -07:00
info.go Scrub podman commands to use report package 2021-06-16 16:53:48 -07:00
migrate.go command: migrate doesn't move process to cgroup 2021-07-27 14:26:23 +02:00
prune.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
renumber.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
reset.go reset: remove external containers on podman system reset 2021-06-30 09:04:08 +05:30
service.go Add CORS support 2021-06-04 16:14:52 +03:00
service_abi.go podman service reaper 2021-07-02 19:00:36 +02:00
system.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
unshare.go podman unshare keep exit code 2021-09-10 15:30:25 +02:00
version.go Scrub podman commands to use report package 2021-06-16 16:53:48 -07:00