Issue with the exit code

While running the script of Linux in the action script, the script is showing 100% completion status but not showing any output in the logs.

Moreover, the exit code is 2.

I’m not getting the what is the issue with the same!

Exit codes are specific to the item being run, so what was it?

If its an RPM install, then running rpm usually has an exit code of how many packages were installed.