From 808a4ead25988f19fc4f7ccf170211446e33147d Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Aug 29 2007 14:54:57 +0000 Subject: - fixed condrestart in init script to use exit instead of return --- diff --git a/sendmail.init b/sendmail.init index c40c9c4..e28c119 100644 --- a/sendmail.init +++ b/sendmail.init @@ -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=$? diff --git a/sendmail.spec b/sendmail.spec index 640b4da..c292ed7 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -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 8.14.1-4.1 +- fixed condrestart in init script to use exit instead of return + * Mon Aug 27 2007 Thomas Woerner 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