summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-exec.1.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-01-26 08:53:23 +0100
committerDaniel J Walsh <dwalsh@redhat.com>2020-01-26 08:53:52 +0100
commit2557cdb4b2f9c6151acd786fc108649b76e2bb18 (patch)
treeb684e03b18cbd5aa6dbfbb2cbd7c156f9ebb4944 /docs/source/markdown/podman-exec.1.md
parentc21445d73d6601bdf8247506f05b083c4585dfaf (diff)
downloadpodman-2557cdb4b2f9c6151acd786fc108649b76e2bb18.tar.gz
podman-2557cdb4b2f9c6151acd786fc108649b76e2bb18.tar.bz2
podman-2557cdb4b2f9c6151acd786fc108649b76e2bb18.zip
Cleanup man pages exit code descriptions
The conversion of markdown to man pages is causing "_" to cover entire lines. This PR cleans this up and fixes some of the english. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-exec.1.md')
-rw-r--r--docs/source/markdown/podman-exec.1.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/source/markdown/podman-exec.1.md b/docs/source/markdown/podman-exec.1.md
index 8c0106d70..1bd10f9ba 100644
--- a/docs/source/markdown/podman-exec.1.md
+++ b/docs/source/markdown/podman-exec.1.md
@@ -80,28 +80,28 @@ when creating the container.
The exit code from `podman exec` gives information about why the command within the container failed to run or why it exited. When `podman exec` exits with a
non-zero code, the exit codes follow the `chroot` standard, see below:
-**_125_** if the error is with Podman **_itself_**
+ **125** The error is with Podman itself
$ podman exec --foo ctrID /bin/sh; echo $?
Error: unknown flag: --foo
125
-**_126_** if the **_contained command_** cannot be invoked
+ **126** The _contained command_ cannot be invoked
$ podman exec ctrID /etc; echo $?
Error: container_linux.go:346: starting container process caused "exec: \"/etc\": permission denied": OCI runtime error
126
-**_127_** if the **_contained command_** cannot be found
+ **127** The _contained command_ cannot be found
$ podman exec ctrID foo; echo $?
Error: container_linux.go:346: starting container process caused "exec: \"foo\": executable file not found in $PATH": OCI runtime error
127
-**_Exit code_** of **_contained command_** otherwise
+ **Exit code** The _contained command_ exit code
- $ podman exec ctrID /bin/sh -c 'exit 3'
- # 3
+ $ podman exec ctrID /bin/sh -c 'exit 3'; echo $?
+ 3
## EXAMPLES