Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102014413
D46862.id145301.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
719 B
Referenced Files
None
Subscribers
None
D46862.id145301.diff
View Options
diff --git a/libexec/rc/rc.d/sendmail b/libexec/rc/rc.d/sendmail
--- a/libexec/rc/rc.d/sendmail
+++ b/libexec/rc/rc.d/sendmail
@@ -205,6 +205,7 @@
}
run_rc_command "$1"
+_ret=$?
required_files=
@@ -213,6 +214,7 @@
rcvar="sendmail_submit_enable"
_rc_restart_done=false
run_rc_command "$1"
+ _ret=$(( _ret > $? ? _ret : $? ))
fi
if checkyesno sendmail_outbound_enable; then
@@ -220,6 +222,7 @@
rcvar="sendmail_outbound_enable"
_rc_restart_done=false
run_rc_command "$1"
+ _ret=$(( _ret > $? ? _ret : $? ))
fi
name="sendmail_msp_queue"
@@ -228,3 +231,6 @@
required_files="/etc/mail/submit.cf"
_rc_restart_done=false
run_rc_command "$1"
+_ret=$(( _ret > $? ? _ret : $? ))
+
+(exit "$_ret")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 1:44 PM (4 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14305721
Default Alt Text
D46862.id145301.diff (719 B)
Attached To
Mode
D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running
Attached
Detach File
Event Timeline
Log In to Comment