diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-09-02 07:51:50 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-09-05 14:04:50 +0000 |
commit | 1ee466eee4f224cfa7e57b7556b5119b2f02f653 (patch) | |
tree | 1d2370e52677039e078d5d11e22c86f438aec5e1 /cmd/podman/shared/container.go | |
parent | 7ffb8a79007414e510ac14ac0d682e1bbfe30c7c (diff) | |
download | podman-1ee466eee4f224cfa7e57b7556b5119b2f02f653.tar.gz podman-1ee466eee4f224cfa7e57b7556b5119b2f02f653.tar.bz2 podman-1ee466eee4f224cfa7e57b7556b5119b2f02f653.zip |
We should fail Podman with ExitCode 125 by default
$ ./bin/podman --foo
$ echo $?
125
$ ./bin/podman foo
Command "foo" not found.
See `podman --help`.
$ echo $?
1
After this change
$ ./bin/podman foo
Command "foo" not found.
See `podman --help`.
$ echo $?
125
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #1398
Approved by: vrothberg
Diffstat (limited to 'cmd/podman/shared/container.go')
0 files changed, 0 insertions, 0 deletions