[Bug 223132] /etc/rc.d/sendmail status returns the wrong exit code
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 25 20:42:10 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223132
Jilles Tjoelker <jilles at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jilles at FreeBSD.org
Status|New |Open
--- Comment #2 from Jilles Tjoelker <jilles at FreeBSD.org> ---
The idea seems good but adding exit statuses does not seem appropriate. I
suggest the maximum instead: exit $(( _ret > $? ? _ret : $? ))
The semicolon after exit is unnecessary and the style is to leave it off.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list