exit code must be 0 to be interpreted as successful.
also you might need to redirect stdout / stderr to a file instead of returing it to Commvault.
(allthough I never had problems with stdout from pre-scripts)
did you specify the interpreter to use in the first line of the script ?
run "/home/cvlt/script.sh dbname ; echo $?" and verify the returncode