From: fredrik Date: Fri, 2 Jun 2006 00:58:44 +0000 (+0000) Subject: Fixed bug in findcurep. X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=commitdiff_plain;h=f8416d8d2aeec1e259deffb6767eef7d6cb97b27 Fixed bug in findcurep. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@637 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/autodlctl b/autodlctl index 2eba96b..4675ad0 100755 --- a/autodlctl +++ b/autodlctl @@ -12,11 +12,12 @@ function findcurep if [ -r maxep ]; then if [ "`cat curep`" -le "`cat maxep`" ]; then echo curep `cat curep` + return 0 fi else echo curep `cat curep` + return 0 fi - return 0 fi echo none return 1