From 890044d7ed595f1ccf5e4b2a68621549b3acbc67 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 18 Dec 2008 22:47:13 +0000 Subject: [PATCH] - Remove unnecessary success/failure lines in init scripts (#476846) --- dhcp.spec | 5 ++++- dhcpd.init | 1 - dhcrelay.init | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dhcp.spec b/dhcp.spec index 1b3c5fa..43d04cf 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -17,7 +17,7 @@ Summary: Dynamic host configuration protocol software Name: dhcp Version: 4.0.0 -Release: 32%{?dist} +Release: 33%{?dist} # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # dcantrell maintaining the package) made incorrect use of the epoch and # that's why it is at 12 now. It should have never been used, but it was. @@ -406,6 +406,9 @@ fi %attr(0644,root,root) %{_mandir}/man3/omapi.3.gz %changelog +* Thu Dec 18 2008 David Cantrell - 12:4.0.0-33 +- Remove unnecessary success/failure lines in init scripts (#476846) + * Wed Dec 03 2008 David Cantrell - 12:4.0.0-32 - Enable LDAP/SSL support in dhcpd (#467740) - Do not calculate a prefix for an address we did not receive (#473885) diff --git a/dhcpd.init b/dhcpd.init index acc88f8..a2d9296 100644 --- a/dhcpd.init +++ b/dhcpd.init @@ -97,7 +97,6 @@ stop() { killproc $prog RETVAL=$? - [ $RETVAL = 0 ] && success || failure echo [ $RETVAL = 0 ] && rm -f $lockfile return $RETVAL diff --git a/dhcrelay.init b/dhcrelay.init index 27aaebf..6c40195 100644 --- a/dhcrelay.init +++ b/dhcrelay.init @@ -70,7 +70,6 @@ stop() { killproc $prog -TERM RETVAL=$? - [ $RETVAL = 0 ] && success || failure echo [ $RETVAL = 0 ] && rm -f $lockfile return $RETVAL