Merge -r 1227224:1227225 from trunk to branch. FIXES: HADOOP-7948

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1227234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2012-01-04 17:37:50 +00:00
parent 16b1c5c24d
commit 19f69fa577
2 changed files with 9 additions and 4 deletions

View File

@ -105,6 +105,9 @@ Release 0.23.1 - Unreleased
HADOOP-7837. no NullAppender in the log4j config. (eli)
HADOOP-7948. Shell scripts created by hadoop-dist/pom.xml to build tar do not
properly propagate failure. (cim_michajlomatijkiw via tucu)
Release 0.23.0 - 2011-11-01
INCOMPATIBLE CHANGES

View File

@ -98,11 +98,12 @@
run() {
echo "\$ ${@}"
"${@}"
if [ $? != 0 ]; then
res=$?
if [ $res != 0 ]; then
echo
echo "Failed!"
echo
exit $?
exit $res
fi
}
@ -139,11 +140,12 @@
run() {
echo "\$ ${@}"
"${@}"
if [ $? != 0 ]; then
res=$?
if [ $res != 0 ]; then
echo
echo "Failed!"
echo
exit $?
exit $res
fi
}