Example code :
#!/bin/bash
./execute_some_script.sh
if (( $? == 0 ))
then
echo "the script in script was executed successfully."
else
echo "the script in script was failed !"
fi
Also a tip for comparing variable as numeric is " if (( $var op $another_var_or_number )) "