diff options
| author | Mark Goddard <mark@stackhpc.com> | 2021-05-24 10:52:43 +0100 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2021-05-25 08:52:19 +0000 |
| commit | 86ddc94ec2f6ec46d6dfc4feeb58c12aaabcd252 (patch) | |
| tree | e829c2e8558f9fbd2fd0a8bae540262ef6f050e6 /tools | |
| parent | bf1968689b8a5bc35965c1818d7b0750f20607f8 (diff) | |
| download | kolla-ansible-86ddc94ec2f6ec46d6dfc4feeb58c12aaabcd252.tar.gz kolla-ansible-86ddc94ec2f6ec46d6dfc4feeb58c12aaabcd252.zip | |
Fix exit code with bogus command name
Running this:
$ kolla-ansible bogus-command
Should show usage & give a non-zero exit code. Previously it gave a zero
exit code. This change fixes the issue.
Closes-Bug: #1929397
Change-Id: I580c208d61d5efe115f936dfb8f3f6508acd91b2
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/kolla-ansible | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 215bcf0ee..a91fc23b3 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -471,7 +471,7 @@ EOF exit 0 ;; (*) usage - exit 0 + exit 3 ;; esac |
