kata-containers/tools
Shunsuke Kimura e5d7414c33 kata-deploy: Return exit code for invalid argument
It hangs when invalid arguments are specified.

```bash
kata-deploy-6sr2p:/# /opt/kata-artifacts/scripts/kata-deploy.sh xxx
Action:
* xxx
...
Usage: /opt/kata-artifacts/scripts/kata-deploy.sh [install/cleanup/reset]
ERROR: invalid arguments
...
^C <- hang
```

I changed it to behave the same as when there are no arguments.

```bash
kata-deploy-6sr2p:/# /opt/kata-artifacts/scripts/kata-deploy.sh
Usage: /opt/kata-artifacts/scripts/kata-deploy.sh [install/cleanup/reset]
ERROR: invalid arguments
kata-deploy-6sr2p:/# echo $?
1
```

Fixes: #11068

Signed-off-by: Shunsuke Kimura <pbrehpuum@gmail.com>
2025-03-22 21:32:38 +09:00
..
osbuilder tools: initialize unbound variables in rootfs.sh 2025-03-13 22:57:43 +08:00
packaging kata-deploy: Return exit code for invalid argument 2025-03-22 21:32:38 +09:00
testing ci: Add arm64 K8s tests as required 2025-03-06 14:39:04 +00:00
containerd-shim-katadbg-v2 debugging: adding a script and instructions for debugging the GO shim 2024-05-14 11:12:31 +02:00