Fixed exit code of ipmievd initscript with wrong arguments
This commit is contained in:
parent
8f93f33591
commit
9f3241f8cf
@ -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
|
# Short-Description: ipmievd daemon to send events to syslog
|
||||||
# Description: Start ipmievd to read events from BMC and
|
# Description: Start ipmievd to read events from BMC and
|
||||||
# log them to syslog. Events correspond to hardware faults,
|
# 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 $?
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Name: ipmitool
|
Name: ipmitool
|
||||||
Summary: Utility for IPMI control
|
Summary: Utility for IPMI control
|
||||||
Version: 1.8.11
|
Version: 1.8.11
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://ipmitool.sourceforge.net/
|
URL: http://ipmitool.sourceforge.net/
|
||||||
@ -87,6 +87,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 3 2010 Jan Safranek <jsafrane@redhat.com> - 1.8.11-5
|
||||||
|
- Fixed exit code of ipmievd initscript with wrong arguments
|
||||||
|
|
||||||
* Mon Nov 2 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-4
|
* Mon Nov 2 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-4
|
||||||
- fix ipmievd initscript 'condrestart' action (#532188)
|
- fix ipmievd initscript 'condrestart' action (#532188)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user