Package: sphinxsearch
Version: 0.9.9-7
Severity: important
Tags: patch

Hi,

the init script of sphinxsearch suggests (when run with no option) that
there should be a force-reload option, which doesn't exist in your
'case' statement.

Attached patch fixes this issue.

Cheers,
Martin

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
 Martin Zobel-Helas <zo...@debian.org>  | Debian System Administrator
 Debian & GNU/Linux Developer           |           Debian Listmaster
 GPG key http://go.debian.net/B11B627B  | 
 GPG Fingerprint:  6B18 5642 8E41 EC89 3D5D  BDBB 53B1 AC6D B11B 627B 
--- debian/init.d	2011-05-05 12:09:27.000000000 +0200
+++ debian/init.d.new	2011-05-05 12:14:32.000000000 +0200
@@ -145,7 +145,7 @@
   *)
     N=/etc/init.d/$NAME
     # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-    echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2
+    echo "Usage: $N {start|stop|restart|status|force-stop}" >&2
     exit 1
     ;;
 esac

Reply via email to