From f8416d8d2aeec1e259deffb6767eef7d6cb97b27 Mon Sep 17 00:00:00 2001 From: fredrik Date: Fri, 2 Jun 2006 00:58:44 +0000 Subject: [PATCH] Fixed bug in findcurep. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@637 959494ce-11ee-0310-bf91-de5d638817bd --- autodlctl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.11.0