X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsrc%2Fexicyclog.src;h=01d1f2feb2fd8aa82dced2dbc43c886287fb750f;hb=c9068a49f52c7b42b49944852d6b93e95abb71dc;hp=c1af5d1793dc014af2bd0064c19ef155d03f9700;hpb=5c3a378fcb71aaf98785a642e9b46489232eeb79;p=exim.git diff --git a/src/src/exicyclog.src b/src/src/exicyclog.src index c1af5d179..01d1f2feb 100644 --- a/src/src/exicyclog.src +++ b/src/src/exicyclog.src @@ -1,7 +1,6 @@ #! /bin/sh -# $Cambridge: exim/src/src/exicyclog.src,v 1.9 2009/01/20 16:06:14 fanf2 Exp $ -# Copyright (c) 2006 University of Cambridge. +# Copyright (c) University of Cambridge, 1995 - 2007 # See the file NOTICE for conditions of use and distribution. # This script takes the following command line arguments: @@ -251,7 +250,7 @@ count=$keep if [ $count -lt 10 ]; then countt=0$count; else countt=$count; fi while [ $count -gt 1 ]; do - old=`expr $count - 1` + old=`expr -- $count - 1` if [ $keep -gt 99 ]; then if [ $old -lt 10 ]; then oldt=00$old elif [ $old -lt 100 ]; then oldt=0$old @@ -334,7 +333,7 @@ while [ $count -le $keep ]; do $chown $user:$group $paniclog.$countt.$suffix fi - count=`expr $count + 1` + count=`expr -- $count + 1` done # End of exicyclog