Index: build/unittest.sh =================================================================== diff -u -rd719a6a96efb4e6d232dc7465452775467605799 -r0c9bf8600e52daed8aa0bf6985c81e217c4bf79a --- build/unittest.sh (.../unittest.sh) (revision d719a6a96efb4e6d232dc7465452775467605799) +++ build/unittest.sh (.../unittest.sh) (revision 0c9bf8600e52daed8aa0bf6985c81e217c4bf79a) @@ -76,8 +76,8 @@ echo " ------------------------------ Stoping the Squish Server" $SQUISH_DIR/bin/squishserver --port=$SQUISH_SERVER_PORT --stop -if [[ -z $StopOnUnitTestError ]]; then - exit 0 -else +if [[ "$StopOnUnitTestError" = "" ]]; then exit $UNITTEST_RESULT +else + exit 0 fi