diff --git a/etc/rc.d/sendmail b/etc/rc.d/sendmail index 05dbd3f9809c..ccdb027409bd 100755 --- a/etc/rc.d/sendmail +++ b/etc/rc.d/sendmail @@ -74,14 +74,14 @@ run_rc_command "$1" required_files= -if ! checkyesno sendmail_submit_enable; then +if checkyesno sendmail_submit_enable; then name="sendmail_submit" rcvar=`set_rcvar` start_cmd="${command} ${sendmail_submit_flags}" run_rc_command "$1" fi -if ! checkyesno sendmail_outbound_enable; then +if checkyesno sendmail_outbound_enable; then name="sendmail_outbound" rcvar=`set_rcvar` start_cmd="${command} ${sendmail_outbound_flags}"