cvs commit: LFS/bootscripts/lfs/init.d functions

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Fri Mar 19 16:34:31 PST 2004


nathan      04/03/19 17:34:31

  Modified:    bootscripts/lfs/init.d functions
  Log:
  Removed unnecessary useage of expr, suggested by Zack
  
  Revision  Changes    Path
  1.5       +1 -1      LFS/bootscripts/lfs/init.d/functions
  
  Index: functions
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/functions,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- functions	20 Mar 2004 00:26:40 -0000	1.4
  +++ functions	20 Mar 2004 00:34:31 -0000	1.5
  @@ -196,7 +196,7 @@
                           while [ $i -lt $KILLDELAY ]; do
                                   kill -0 $pid 2>/dev/null || break
                                   sleep 1
  -                                i=`expr $i + 1`
  +                                i=$(($i+1))
                           done
   
                           if [ -n "$fallback" ]; then kill -$fallback $pid 2>/dev/null; fi
  
  
  



More information about the lfs-book mailing list