rpms/openct/devel openct.init,1.4,1.5 openct.spec,1.29,1.30
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Fri Oct 12 17:32:51 UTC 2007
Author: scop
Update of /cvs/pkgs/rpms/openct/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19266
Modified Files:
openct.init openct.spec
Log Message:
* Fri Oct 12 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-3
- Fix init script exit status when stopping already stopped service (#247009).
Index: openct.init
===================================================================
RCS file: /cvs/pkgs/rpms/openct/devel/openct.init,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- openct.init 17 Jul 2007 19:04:14 -0000 1.4
+++ openct.init 12 Oct 2007 17:32:17 -0000 1.5
@@ -40,8 +40,10 @@
}
stop() {
- action $"Stopping OpenCT smart card terminals: " \
- $exec $OPENCT_OPTIONS shutdown
+ if status $proc >/dev/null 2>&1 ; then
+ action $"Stopping OpenCT smart card terminals: " \
+ $exec $OPENCT_OPTIONS shutdown
+ fi
retval=$?
if [ $retval -eq 0 ] ; then
rm -f /var/run/openct/status
Index: openct.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openct/devel/openct.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- openct.spec 21 Sep 2007 18:58:18 -0000 1.29
+++ openct.spec 12 Oct 2007 17:32:17 -0000 1.30
@@ -4,7 +4,7 @@
Name: openct
Version: 0.6.14
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Middleware framework for smart card terminals
Group: System Environment/Libraries
@@ -162,6 +162,9 @@
%changelog
+* Fri Oct 12 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-3
+- Fix init script exit status when stopping already stopped service (#247009).
+
* Fri Sep 21 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-2
- Drop "sleep 0.1" from udev rule (#287871).
More information about the fedora-extras-commits
mailing list