[clamav/f14/master] fixed signal specifier in clamd-wrapper (#668131)

ensc ensc at fedoraproject.org
Sat Jan 8 09:51:33 UTC 2011


commit d2c689f1133a27459e24c6789d44430f2183a299
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Sat Jan 8 10:47:53 2011 +0100

    fixed signal specifier in clamd-wrapper (#668131)

 clamav.spec   |    5 ++++-
 clamd-wrapper |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index c8dd44a..8dc0bf0 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -33,7 +33,7 @@
 Summary:	End-user tools for the Clam Antivirus scanner
 Name:		clamav
 Version:	0.96.5
-Release:	%release_func 1400
+Release:	%release_func 1401
 License:	%{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
 Group:		Applications/File
 URL:		http://www.clamav.net
@@ -718,6 +718,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
 
 
 %changelog
+* Sat Jan  8 2011 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.96.5-1401
+- fixed signal specifier in clamd-wrapper (#668131, James Ralston)
+
 * Sat Dec  4 2010 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.96.5-1400
 - updated to 0.96.5
 - CVE-2010-4260 Multiple errors within the processing of PDF files can
diff --git a/clamd-wrapper b/clamd-wrapper
index d5b2f4e..0a30628 100644
--- a/clamd-wrapper
+++ b/clamd-wrapper
@@ -62,10 +62,10 @@ stop () {
 reload() {
 	rc=0
 	echo -n $"Reloading $prog: "
-	killproc -p ${CLAMD_PIDFILE} $procname -SIGHUP  || rc=$?
+	killproc -p ${CLAMD_PIDFILE} $procname -HUP  || rc=$?
 	echo
 	echo -n $"Loading new virus-database: "
-	killproc -p ${CLAMD_PIDFILE} $procname -SIGUSR2 || rc=$?
+	killproc -p ${CLAMD_PIDFILE} $procname -USR2 || rc=$?
 	echo
 	return $rc
 }


More information about the scm-commits mailing list