jboss-cli.sh should exit with non-zero exit code when commands passed through it have had any failures.
It's good to have a mode where it fails on the first failed CLI command. (like `sh -e`).
At the moment it exits always with `0` so shell doesn't know if there have been any errors executing the commands or not. This will greatly help scripting with jboss-cli.