There used to be a syslog about the return value back when I was looking for the failure.  Removed the syslog() call but left the ret_val= as convenience … if I was wrong about having fixed the problem.