FreeBSD Bugzilla – Attachment 187544 Details for
Bug 223132
/etc/rc.d/sendmail status returns the wrong exit code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to return non zero error code (2nd try)
sendmail.rc.patch (text/plain), 395 bytes, created by
Jim Pirzyk
on 2017-10-28 17:59:40 UTC
(
hide
)
Description:
Proposed patch to return non zero error code (2nd try)
Filename:
MIME Type:
Creator:
Jim Pirzyk
Created:
2017-10-28 17:59:40 UTC
Size:
395 bytes
patch
obsolete
>--- etc/rc.d/sendmail.orig 2017-10-28 12:56:03.176883000 -0500 >+++ etc/rc.d/sendmail 2017-10-28 12:56:27.228976000 -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 > $? ? $_ret : $? ))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223132
:
187329
| 187544