]> granicus.if.org Git - fcron/commitdiff
bug fix
authorthib <thib>
Wed, 17 May 2000 19:19:30 +0000 (19:19 +0000)
committerthib <thib>
Wed, 17 May 2000 19:19:30 +0000 (19:19 +0000)
script/boot-install

index 6ac03fc50d666bf38632f329dbc06744c4e166ac..f78b4f04fe09f3502de89e6faff39e24d359123f 100755 (executable)
@@ -2,7 +2,7 @@
 # Install fcron under SysV system.
 #
 
-# $Id: boot-install,v 1.3 2000-05-15 19:54:07 thib Exp $
+# $Id: boot-install,v 1.4 2000-05-17 19:19:30 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 -e '-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