Browse Source

Make the return code match the naughty exit.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271592 13f79535-47bb-0310-9956-ffa450edef68
master
Diane Holt 23 years ago
parent
commit
3d74eb98cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/script/ant

+ 1
- 1
src/script/ant View File

@@ -77,7 +77,7 @@ fi
if [ ! -x "$JAVACMD" ] ; then if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." echo "Error: JAVA_HOME is not defined correctly."
echo " We cannot execute $JAVACMD" echo " We cannot execute $JAVACMD"
exit
exit 1
fi fi


if [ -n "$CLASSPATH" ] ; then if [ -n "$CLASSPATH" ] ; then


Loading…
Cancel
Save