Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to get exit code of a shell script using SSH_EXIT_CODE variable of TSSH Component, but the component is giving exit code 0 if its able to trigger the script successfully but its not giving the exit code of script. Like, SSH_EXIT_CODE should give exit code other than 0 if there is some error in the script. I do not want to use SSH_STDOUT to get the output of the script because its used for other . Is there any way I can get exit code from inside the script??