Hello people,
there is a lab that asks the following:
“Update the script to exit with exit code 25
if the status is failed, after printing the debug reason.”
I’ve tried, but failed. I even copied the solution script, but again the exit status I get is 1.
The last part of my code is:
if [ $rocket_status = “failed” ]
then
rocket-debug
exit code 25
fi
Any ideas?