]> granicus.if.org Git - fcron/commitdiff
fixed test for debian's system
authorthib <thib>
Thu, 25 Dec 2003 22:52:10 +0000 (22:52 +0000)
committerthib <thib>
Thu, 25 Dec 2003 22:52:10 +0000 (22:52 +0000)
script/sysVinit-launcher

index 5983f6b671bff3b971c2767254d3c1d60cc69742..68dfbd7c9f904b490112ff28b6aecb2bd2ba8eb2 100755 (executable)
@@ -6,7 +6,7 @@
 # processname: fcron
 # pidfile: /var/run/fcron.pid
 # config: /var/spool/fcron/*
-# $Id: sysVinit-launcher,v 1.8 2001-08-17 19:48:41 thib Exp $
+# $Id: sysVinit-launcher,v 1.9 2003-12-25 22:52:10 thib Exp $
 
 export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
 
@@ -19,7 +19,7 @@ if test -f /etc/rc.d/init.d/functions; then
     STARTCMD="daemon $SBIN/fcron -b"
     STOPCMD="killproc fcron"
     FINALECHO="echo"
-elif start-stop-daemon -V > /dev/null; then
+elif start-stop-daemon --version > /dev/null; then
     STARTCMD="start-stop-daemon --start --quiet --exec $SBIN/fcron -- -b"
     STOPCMD="start-stop-daemon --stop --quiet --exec $SBIN/fcron"
     FINALECHO="echo ."