You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/04/11 20:23:38 UTC
[Bug 62285] New: Bug in update-index-monthly - exit in wrong place
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: sebb@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62285] Bug in update-index-monthly - exit in wrong place
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62285
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
Thanks for the detailed report.
Fixed in mod_mbox trunk in r1828940.
Other scripts in this directory seem to have their "exit 1" in the correct
places.
Regards,
Rainer
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org