rpms/sysstat/devel sysstat-9.0.4-init_script.patch,1.1,1.2

Ivana Varekova varekova at fedoraproject.org
Mon Sep 14 13:56:46 UTC 2009


Author: varekova

Update of /cvs/pkgs/rpms/sysstat/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20814

Modified Files:
	sysstat-9.0.4-init_script.patch 
Log Message:
fix the return value


sysstat-9.0.4-init_script.patch:
 sysstat.in |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Index: sysstat-9.0.4-init_script.patch
===================================================================
RCS file: /cvs/pkgs/rpms/sysstat/devel/sysstat-9.0.4-init_script.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sysstat-9.0.4-init_script.patch	14 Sep 2009 13:30:48 -0000	1.1
+++ sysstat-9.0.4-init_script.patch	14 Sep 2009 13:56:46 -0000	1.2
@@ -1,6 +1,6 @@
 diff -up sysstat-9.0.4/sysstat.in.ii sysstat-9.0.4/sysstat.in
 --- sysstat-9.0.4/sysstat.in.ii	2009-02-15 15:49:24.000000000 +0100
-+++ sysstat-9.0.4/sysstat.in	2009-09-14 15:22:34.000000000 +0200
++++ sysstat-9.0.4/sysstat.in	2009-09-14 15:47:07.000000000 +0200
 @@ -4,11 +4,13 @@
  # @INIT_DIR@/sysstat
  # (C) 2000-2009 Sebastien Godard (sysstat <at> orange.fr)
@@ -16,7 +16,12 @@ diff -up sysstat-9.0.4/sysstat.in.ii sys
  
  RETVAL=0
  SYSCONFIG_DIR=@SYSCONFIG_DIR@
-@@ -31,7 +33,7 @@ case "$1" in
+@@ -27,11 +29,11 @@ case "$1" in
+ 	if [ -f "${exitCodeIndicator}" ]; then
+ 		rm -f ${exitCodeIndicator}
+ 	else
+-		RETVAL=1
++		RETVAL=2
  	fi
  	echo
  	;;




More information about the fedora-extras-commits mailing list