- fixed condrestart in init script to use exit instead of return

This commit is contained in:
Thomas Woerner 2007-08-29 14:54:57 +00:00
parent e2318f8625
commit 808a4ead25
2 changed files with 5 additions and 2 deletions

View File

@ -152,7 +152,7 @@ case "$1" in
RETVAL=$?
;;
condrestart|try-restart)
[ ! -f /var/lock/subsys/sendmail ] && return 7
[ ! -f /var/lock/subsys/sendmail ] && exit 7
stop
start
RETVAL=$?

View File

@ -15,7 +15,7 @@
Summary: A widely used Mail Transport Agent (MTA)
Name: sendmail
Version: 8.14.1
Release: 4
Release: 4.1%{?dist}
License: Sendmail
Group: System Environment/Daemons
URL: http://www.sendmail.org/
@ -539,6 +539,9 @@ exit 0
%changelog
* Wed Aug 29 2007 Thomas Woerner <twoerner@redhat.com> 8.14.1-4.1
- fixed condrestart in init script to use exit instead of return
* Mon Aug 27 2007 Thomas Woerner <twoerner@redhat.com> 8.14.1-4
- do not remove /etc/aliases.db on package removal (rhbz#223637)
- fixed remaining paths to certs directory in sendmail.mc file