https://bz.apache.org/bugzilla/show_bug.cgi?id=62285

            Bug ID: 62285
           Summary: Bug in update-index-monthly - exit in wrong place
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_mbox
          Assignee: bugs@httpd.apache.org
          Reporter: s...@apache.org
  Target Milestone: ---

The script
https://svn.apache.org/repos/asf/httpd/mod_mbox/trunk/scripts/update-index-monthly

has the following code:

--- cut ---
if [ $# -ge 1 ]; then
  ARCHIVES_PATH="$1"
  exit 1
fi

if [ ! -f $ARCHIVES_PATH ] ; then
  echo $ARCHIVES_PATH not found.  Exiting.
fi
--- cut ---

The 'exit 1' statement should be in the second conditional block.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to