From 267669567845e9fa60fa3b5ceea4d94ebc72f00a Mon Sep 17 00:00:00 2001 From: thib Date: Thu, 25 Dec 2003 22:52:10 +0000 Subject: [PATCH] fixed test for debian's system --- script/sysVinit-launcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/sysVinit-launcher b/script/sysVinit-launcher index 5983f6b..68dfbd7 100755 --- a/script/sysVinit-launcher +++ b/script/sysVinit-launcher @@ -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 ." -- 2.40.0