The ‘overriden return codes’ are not available in blpackages.
Thanks Bill. May be I will have to consider mapping codes to Depot Software and then update install command such that it returns different codes as per requirement using conditional statement like if then else etc.
I think you can use customized exit codes based upon your requirement.
echo "condition1 satisfied"
echo "condition1 failed to satisfy"
similarly you can have multiple check. If you encounter exit 10 then you know what could be the possible cause of failure for it.
I have thousands servers and checking log message of each server will be difficult. Like it is actual failure or failure due to some other conditions.
That is the reason I would like to set the Return code i.e. Warning code for - /opt is not different partition
in an external command, anything other than a 0 exit code will be seen as an error.