You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by hs...@apache.org on 2004/10/20 17:27:43 UTC

svn commit: rev 55156 - spamassassin/trunk/spamd

Author: hstern
Date: Wed Oct 20 08:27:41 2004
New Revision: 55156

Modified:
   spamassassin/trunk/spamd/slackware-rc-script.sh
Log:
bug 3910:

 * spamd/slackware-rc-script.sh: Removed redundant echos, fixed flags to kill and rm.


Modified: spamassassin/trunk/spamd/slackware-rc-script.sh
==============================================================================
--- spamassassin/trunk/spamd/slackware-rc-script.sh	(original)
+++ spamassassin/trunk/spamd/slackware-rc-script.sh	Wed Oct 20 08:27:41 2004
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Spamd init script for Slackware 9.0
+# Spamd init script for Slackware 10.0
 # August, 2th 2003
 # Martin Ostlund, nomicon
 
@@ -37,16 +37,13 @@
 	;;
   stop)
 	echo -n "Stopping $DESC: "
-        $KILL -9 `cat $PIDFILE`
-	/bin/rm $PIDFILE
+        $KILL `cat $PIDFILE`
+	/bin/rm -f $PIDFILE
 	echo "$NAME."
 	;;
   restart|force-reload)
-	echo -n "Restarting $DESC: "
 	$0 stop
 	$0 start
-
-	echo "$NAME."
 	;;
   *)
 	ME=/etc/rc.d/$SNAME