--- etc/rc.d/sendmail.orig 2017-10-20 12:02:38.574948000 -0500 +++ etc/rc.d/sendmail 2017-10-20 11:45:48.848498000 -0500 @@ -200,6 +200,7 @@ } run_rc_command "$1" +_ret=$? required_files= @@ -220,3 +221,5 @@ pidfile="${sendmail_msp_queue_pidfile:-/var/spool/clientmqueue/sm-client.pid}" required_files="/etc/mail/submit.cf" run_rc_command "$1" + +exit $(( $? + $_ret ));