From 0daa76a15095d395a3901ca1b1b38dcbc60ebb23 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 14 Jul 2005 22:57:00 -0500 Subject: [svn-r11075] Purpose: bug fix. Description: The deploy command would exit whether it succeeded or not. Solution: Fixed it so that it exits only when deploy has encountered failures. Platforms tested: Trivial change. Will watch the daily test results. Misc. update: --- bin/snapshot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/snapshot b/bin/snapshot index ce06800..07af0b7 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -414,6 +414,8 @@ if [ -n "$DEPLOYDIRNAME" ]; then if [ "$snapshot" = "yes" ]; then TIMESTAMP "deploy" if (cd ${TESTDIR} && ${CURRENT}/bin/deploy ${deploydir}/${DEPLOYDIRNAME}); then + : #continue + else errcode=$? exit $errcode fi -- cgit v0.12