Fixed bug in findcurep.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Fri, 2 Jun 2006 00:58:44 +0000 (00:58 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Fri, 2 Jun 2006 00:58:44 +0000 (00:58 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@637 959494ce-11ee-0310-bf91-de5d638817bd

autodlctl

index 2eba96b..4675ad0 100755 (executable)
--- 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