diff --git a/releasenotes/notes/cli-exit-code-1e6278f803dbf8e2.yaml b/releasenotes/notes/cli-exit-code-1e6278f803dbf8e2.yaml new file mode 100644 index 0000000000..86cba91ff3 --- /dev/null +++ b/releasenotes/notes/cli-exit-code-1e6278f803dbf8e2.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes an issue where ``kolla-ansible`` exits with a zero exit code when + executed with a bogus command name. `LP#1929397 + `__ diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 337cc1521d..65a8b49210 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -494,7 +494,7 @@ EOF exit 0 ;; (*) usage - exit 0 + exit 3 ;; esac