This does not have sense. Did you meant ```exit $ret_code``` here?