From: thib Date: Mon, 15 May 2000 19:54:07 +0000 (+0000) Subject: minor bug corrected X-Git-Tag: ver1564~658 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87a069a2f27baab8a096157b0f4ac7817c987edc;p=fcron minor bug corrected --- diff --git a/script/boot-install b/script/boot-install index 6663c4c..6ac03fc 100755 --- a/script/boot-install +++ b/script/boot-install @@ -2,7 +2,7 @@ # Install fcron under SysV system. # -# $Id: boot-install,v 1.2 2000-05-15 18:28:24 thib Exp $ +# $Id: boot-install,v 1.3 2000-05-15 19:54:07 thib Exp $ # take two arguments : first is the compilation line arguments, in order # to determine if fcron should be installed with debugs options, @@ -22,7 +22,7 @@ if test -f /etc/rc.d/rc.M; then echo "fcron -b" >> /etc/rc.d/rc.local else - if echo $1 > grep "-DDEBUG"; then + if echo $1 | grep "-DDEBUG"; then $2 -m 755 -o root script/sysVinit-launcher-debug /etc/rc.d/init.d/fcron else $2 -m 755 -o root script/sysVinit-launcher /etc/rc.d/init.d/fcron