diff --git a/ipmitool-1.8.10-ipmievd-init.patch b/ipmitool-1.8.10-ipmievd-init.patch index e2e752c..0821e31 100644 --- a/ipmitool-1.8.10-ipmievd-init.patch +++ b/ipmitool-1.8.10-ipmievd-init.patch @@ -21,3 +21,12 @@ diff -up ipmitool-1.8.10/contrib/ipmievd.init.redhat.ipmievd-init ipmitool-1.8.1 # Short-Description: ipmievd daemon to send events to syslog # Description: Start ipmievd to read events from BMC and # log them to syslog. Events correspond to hardware faults, +@@ -85,7 +85,7 @@ case "$1" in + ;; + *) + echo "Usage: ipmievd {start|stop|status|reload|restart|condrestart}" +- exit 1 ++ exit 2 + ;; + esac + exit $? diff --git a/ipmitool.spec b/ipmitool.spec index c3de11c..a75692c 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -1,7 +1,7 @@ Name: ipmitool Summary: Utility for IPMI control Version: 1.8.11 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Group: System Environment/Base URL: http://ipmitool.sourceforge.net/ @@ -87,6 +87,9 @@ fi %changelog +* Wed Mar 3 2010 Jan Safranek - 1.8.11-5 +- Fixed exit code of ipmievd initscript with wrong arguments + * Mon Nov 2 2009 Jan Safranek 1.8.11-4 - fix ipmievd initscript 'condrestart' action (#532188)