From 3d74eb98cb373f8cd12e90273ae290fa541b0f82 Mon Sep 17 00:00:00 2001 From: Diane Holt Date: Thu, 28 Feb 2002 00:01:05 +0000 Subject: [PATCH] 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 --- src/script/ant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/ant b/src/script/ant index b45ce3b56..ef4093146 100644 --- a/src/script/ant +++ b/src/script/ant @@ -77,7 +77,7 @@ fi if [ ! -x "$JAVACMD" ] ; then echo "Error: JAVA_HOME is not defined correctly." echo " We cannot execute $JAVACMD" - exit + exit 1 fi if [ -n "$CLASSPATH" ] ; then